He was born in the year eight hundred and thirteen.
He laboured in the branches of learning until he excelled in the rational and the transmitted sciences, and became renowned for excellence.
He entered Cairo, and travelled to Rum, and found favour with its king, Sultan Murad Khan. It happened that Shaykh Shams al-Din al-Fanari died while he was there, and the sultan asked him to become a Hanafi and take over his posts; he did so, and became the one pointed to in the Rumi realm.
He composed for Sultan Muhammad son of Sultan Murad Khan an ode on the science of prosody, six hundred verses, which he named al-Shafiya fi 'Ilm al-'Arud wa-l-Qafiya.
He died in the year eight hundred and ninety-four.
Among his verse is an ode in which he praises the Prophet, God bless him and grant him peace; from it:
My poetry has been generous in eloquence in praising you ... and how [not], when the tongues of the rocks have been generous with it?
If Ka'b hit the mark with a Yemeni ... eulogy that outshines gold in worth,
Then I have a hope, O most generous of people in giving ... and O protection of the sinners on the plain of the Gathering:
Your supreme intercession, embracing my crimes ... when I come empty-handed, bearing the burden [of sin].
And the beginning of the versification al-Shafiya is his saying:
With praise of the God of creation, Lord of bounty and goodness ... I began a versification whose fragrance spreads its scent;
And I followed my praise with blessing on Ahmad ... Abu al-Qasim, the praised one in the distress of the Gathering —
A blessing embracing the Family and the partisans who ... protected his face on the day of battle with victory.
The hafiz Jalal al-Din al-Suyuti mentioned him in his book Nazm al-'Iqyan fi A'yan al-A'yan.
The author of al-Shaqa'iq mentioned him, saying, in summary: al-Kurani was Hanafi in school; he studied in his homeland and learned law, then travelled to Cairo and read there the ten readings, heard hadith, and was licensed by Ibn Hajar and others.
Then he travelled to the Rumi lands and met Sultan Murad Khan, who honoured him, held him in high esteem, and made him tutor to his son Sultan Muhammad; he taught him the Qur'an and educated him well.
Then when the said Sultan Muhammad sat on the throne of kingship after his father's death, he offered him the vizierate, but he refused and did not accept, and said: Those servants and slaves at your door serve you only to attain the vizierate at the end of their career; if the vizier is from other than them, their dispositions will change and the affairs of the sultanate will be disordered. That pleased him.
He offered him the judgeship of the army, and he accepted it, and exercised it in the best manner, bringing near the people of merit and keeping away the people of ignorance.
Then the sultan dismissed him and gave him the judgeship of Bursa and the administration of the endowments there. He remained there executing rulings and dealing justly between litigants, until a decree contrary to the noble Shari'a reached him; he burned it and punished the one who was carrying it.
When that reached the sultan he dismissed him from the judgeship, and aversion and estrangement arose between them because of that.
So al-Kurani travelled to the Egyptian lands, whose sultan at that time was al-Malik al-Ashraf Qaytbay. He honoured him to the utmost and received him with complete favour, and he stayed with him for a time, in the utmost esteem and honour.
Then Sultan Muhammad regretted what he had done, and sent to Qaytbay requesting him to send him to him. He mentioned that to al-Kurani, and then said to him: Do not go to him, for I will honour you above what he honours you.
al-Kurani said to him: Yes, I know that; but between me and him there is firm love, as between father and son, and the aversion that occurred between us does not remove it. He knows that I incline to him by nature; so if I refuse to go to him, he will understand only that the refusal was from your side, and enmity will arise between you two.
Sultan Qaytbay approved this of him, prepared for him what he needed for the journey, gave him a large sum of money, and sent with him great gifts to Sultan Muhammad Khan.
When he reached him, he honoured him beyond the usual, and entrusted to him the judgeship of Bursa, and he stayed in it for a time.
Then he entrusted to him the office of fatwa in the Rumi lands, and assigned him two hundred dirhams every day, twenty thousand dirhams every month, and fifty thousand dirhams every year, besides the gifts, presents, slaves and slave-girls with which he used to look after him.
He lived under the wing of his protection in abundant blessings and multiplying stipends.
There he wrote a Tafsir al-Qur'an al-Karim, which he named Ghayat al-Amani fi Tafsir al-Sab' al-Mathani, in which he brought many criticisms against the two very learned scholars al-Zamakhshari and al-Baydawi, may God Most High have mercy on them both. He also wrote a Sharh al-Bukhari, which he named al-Kawthar al-Jari 'ala Riyad al-Bukhari, in which in many places he refuted al-Kirmani and Ibn Hajar; and he wrote elegant, well-received Hawashi (glosses) on al-Ja'bari's Sharh al-Shatibiyya.
All his time was spent in writing, giving fatwas, teaching and worship.
A large number graduated under him.
It is related of him that he used to complete the Qur'an on most of his nights, beginning after the late evening prayer and completing it at the break of dawn.
He was a tall man, awe-inspiring, with a large beard, which he used to dye. He was one who spoke the truth, unaffected, for God's sake, by the blame of any blamer. He addressed the sultan and the vizier by their names, and when he met either of them he greeted him with the legal greeting, did not bow to him, shook his hand, and did not kiss his hand; and he did not go to the sultan unless he summoned him. He gave much counsel to his master Sultan Muhammad, being bold of heart in pressing it upon him.
Among what is related of him is that he once said to his said master, reproachfully: Amir Timur sent a courier on an important matter, and said to him: If you need a horse on the road, take the horse of anyone you meet, even if it be my son Shah Rukh.
The courier set off on what he had been ordered, and on his way he met the very learned Sa'd al-Din al-Taftazani, who was encamped at some place, with his horses tied up opposite his tent. The courier took one horse from them. al-Sa'd came out to him from the tent, seized him, took the horse from him, and beat him severely.
The courier went back to Timur and told him of that, and he became extremely angry; then he said: Had it been my son I would have killed him; but how can I kill a man into whose every town I have entered, his writing had entered before my sword entered?
Then al-Kurani said: My writings are now read in Mecca, and your sword has not reached it.
Sultan Muhammad Khan said to him: Yes; people used to copy his writings and travel to them from all regions; but as for you, you wrote your work and sent it to Mecca.
al-Kurani laughed, and approved of this answer extremely.
The virtues and merits of al-Kurani are very many, and in what we have mentioned of them there is sufficiency.
His death was in the year eight hundred and ninety-three, in the city of Constantinople, and he was buried there. He had a crowded funeral, attended by the sultan and those below him; there was much weeping over him, and people grieved at parting from him. May God Most High have mercy on him.