He is buried in Shiraz, Iran. His tomb is a public library today in Shiraz.
His full name is Muhammad ibn Khafif ibn Asfakshad, Abu 'Abd Allah al-Shirazi al-Dibbi al-Shafi`i al-Sufi. Al-Sulami said of him, "The Folk (I.e. the Sufis) do not have anyone older than he is nor more complete in his state and reality today." He took speculative theology (kalam) from al-Ash'ari, jurisprudence (fiqh) from Ibn Surayj, and Sufism (tasawwuf) from Ruwaym, al-Jariri, and Abu al-'Abbas ibn Ata. Al-Dhahabi said of him, "He is -- one of the most knowledgeable shaykhs in the external sciences ('ulum al-zahir)." Ibn Taymiyya names him among the great Sufi representatives of the Sunnah.
Ibn Khafif said, "In my beginnings I would recite in one cycle of prayer al-Ikhlas [Quranic chapter 112] ten thousand times, or recite the entire Qur`an in one cycle of prayer." Al-Sulami said, "Abu 'Abd Allah [ibn Khafif] came from a family of princes, but he practiced asceticism (zuhd) to the point that he said, 'I would collect rags from refuse-heaps, wash them, and mend whatever I could use for clothing, and I spent fourteen months breaking my fast at night with a handful of beans.'"
Ibn Khafif reported from his teacher Ibn Surayj that the proof that love of Allah was a categorical obligation (fard) was in the verses: "Say: If your fathers, and your sons, and your brethren, and your wives, and your tribe, and the wealth you have acquired, and merchandise for which you fear that there will be no sale, and dwellings you desire are dearer to you than Allah and His messenger and striving in His way: then wait till Allah brings His command to pass. Allah guides not wrongdoing folk." (9:24) For punishment is not threatened except due to a categorical obligation.
He once said to the followers of Ibn Maktum: "Busy yourself with the acquisition of some knowledge, and do not let the words of the Sufis [to the contrary] fool you. I myself used to hide my inkwell and pen inside my clothes, and go secretly to visit the scholars. If they [the Sufis] had found out, they would have fought me and they would have said: You will not succeed. Later they found themselves needing me."
Like his teacher Ruwaym, Ibn Khafif was a Zahirite, or literalist, in terms of Muslim jurisprudence. When Ibn Khafif became too weak to stand in his habitual supererogatory prayers, he prayed double their number sitting, in view of the Prophet's report whereby "The prayer of one sitting is half that of one standing." Ibn Bakuyah related from Ibn Khafif that he said: "In my beginnings I would recite in one rak`a "Qul huwa Allahu ahad" [Sura 112] ten thousand times, or recite the entire Qur'an in one rak`a." "Never in forty years was the Ramadan-end purification tax (zakat al-fitr) incumbent upon me."
- Limbert, John W., Shiraz in the Age of Hafez: The Glory of a Medieval Persian City. University of Washington Press. 2004. ISBN 0-295-98391-4. p.112.
- http://www.sunnah.org/aqida/asha'ira2.htm#Ibn%20Khafif The Great Asha'ri Scholars
- Ignác Goldziher, The Zahiris, pg. 106. Leiden: Brill Publishers, 1971.
- Arberry's Shiraz p. 61-85
- Shadd al-Izar, p. 38-46
- Shiraznameh, p. 125-130