The nisba of the imam, the very learned Najm al-Din Abu al-Hasan 'Ali ibn Dawud.
He died on the twenty-fourth of Rajab, in Damascus, in the year 745.
His birth was on the thirteenth of Jumada al-Ula, in the year 668.
He gave fatwas, taught and wrote books.
He was an ascetic, a jurist, a legal theorist, a grammarian, a man of letters, a poet, a Qurashi, a Busrawi.
The shaykh, the imam, the very learned Jamal al-Din Ibn al-Kafri recited to me, when he came to us in Cairo in Dhu al-Hijja of the year 57; he said:
The imam, the very learned shaykh of the grammarians and men of letters, al-Qahfazi, recited to us [verses] of his own about a slave girl named Qulub:
A censurer reproached me for my love of you, / claiming to give me counsel, while he lies in it
He said: Tell me what is in your heart; / I said: in my tormented heart is Qulub [hearts]
And he recited to me [verses] of his about a handsome grammarian:
I concealed in my heart love for a young gazelle / busy with grammar, who does not treat fairly
One day I asked of him what I had concealed for him; / he said to me: the concealed [pronoun] cannot be qualified
His father Dawud has already been mentioned in his chapter.
One day he recited a riddle to the group who studied with him, namely:
O learned man in whom / the science of prosody is blended
Explain to us a circle / in which there are basit and hazaj
The group thought for a long time; then one of them said: This is the water-wheel.
He said to him: You went round in it for a long time until it became clear to you. He meant that he was an ox turning in the water-wheel.
It is said: When the emir Tankiz, God have mercy on him, built his congregational mosque
in Damascus the Well-Guarded, they designated for him a person of the Hanafis, bearing the laqab al-Kashk, to be its preacher. One day, as he was walking in the mosque, they mentioned to him Shaykh Najm al-Din al-Qahfazi, and that he was among the Hanafis like Ibn al-Zamlakani among the Shafi'is; so he summoned him, and they talked; then he said to him, while they were in the mosque: What do you say about this mosque?
He said: Fine, and a fine courtyard [sahn], but it is not fitting that the kashk be in it.
That pleased the emir Tankiz, and he decreed for him the preachership of that mosque.
Then after a time he decreed for him the teaching post of the Rukniyya madrasa; he held it for a short while, then resigned it, and said: It has a condition that I cannot fulfil – and its monthly stipend was a considerable sum. He left it out of scrupulousness.