He was born in the year five hundred and ninety-five. He heard Abu Hafs 'Umar ibn Tabarzad. He studied jurisprudence, transmitted hadith, gave fatwas, taught, and deputised in judging for the chief judge Ahmad ibn Sani al-Dawla al-Shafi'i. When the three judges were newly instituted in the year six hundred and sixty-four, he was the first of the Hanafis to hold the judgeship in Damascus independently; his letter of appointment to that arrived, and he accepted, and exercised [the office] in a manner befitting him.
He said in al-Jawahir: Three diplomas came from Egypt for three judges: Shams al-Din Ibn 'Ata', Shams al-Din 'Abd al-Rahman ibn al-Shaykh Abi 'Umar the Hanbali, and Zayn al-Din 'Abd al-Salam al-Zawawi the Maliki. The chief judge Shams al-Din Ibn Khallikan was at that time the judge of the Shafi'is. The Maliki and the Hanbali did not accept, while the Hanafi accepted. Then a decree arrived obliging the two of them to do so, and [ordering] the taking of the endowments in their hands if they did not. So they complied. Then the Maliki [the next morning] removed himself from the judgeship and the endowments; then the order came obliging him, and all of them continued, but the Maliki and the Hanbali refused the stipend (jamakiyya).
One of the wits of the people of Damascus said, when he saw the gathering of three judges, each of whom had the title Shams al-Din [Sun of the Religion]:
The people of Damascus have become suspicious ... because of the multitude of judges,
Since they are all suns ... while their state is in darkness.
And he also has:
In Damascus a wonder has ... appeared to the people at large:
Whenever a sun is appointed ... judge, it increases in darkness.
The father of the subject of this biography, Muhammad, was Hanbali in school, and his son 'Abd Allah occupied himself with jurisprudence according to the school of the Greatest Imam, may God the Exalted be pleased with him. He memorised al-Quduri, and he continued to toil and acquire [learning] until he became one pointed to in the school of the Hanafis, and he held the teaching post of several madrasas.
Al-Yunini said: The judge Shams al-Din was one of the eminent scholars, complete in merit, abundant in piety, noble in character, of good companionship, very humble, without equal, of little desire for the world, content with little of it; he did not favour anyone [against] the truth. Many people studied with him, and a great multitude benefited from him. End [of quotation].
When the sequestration was imposed on people's properties in the days of al-Malik al-Zahir, and fatwas of the Hanafis were produced [declaring] that they were due [to the state] on the ground that Damascus was conquered by 'Umar ibn al-Khattab, may God the Exalted be pleased with him, by force, the sultan wanted the judge Shams al-Din to rule in his favour on it in accordance with his school. He said to the sultan: These are properties in the hands of their owners, and it is not lawful for a Muslim to interfere with them. Then he rose from the session angry. The sultan was strongly turned against him by that; then he calmed down, and after that he would praise the judge Shams al-Din and laud him.
I say: Thus ought judges to be in standing with the truth against falsehood, not fearing the assault of an oppressor nor the boldness of an ignorant man; the blame of a blamer does not take hold of them in [the cause of] God, and fear of an oppressor does not turn them away from the truth—not like most of the judges of our time, who have taken the rulers as gods for themselves: they disobey God and obey them, they anger God and please them, they judge by caprice and follow desires; the truth with them turns with bribery and rank, and they do not fear ﴿a Day when no soul will have any power for another soul, and the command that Day is God's﴾.
Ibn Kathir said: Ibn 'Ata' was one of the excellent scholars, very humble, of little desire for the world; Ibn Jama'a transmitted from him. End [of quotation].
He remained in the judgeship until he died on Friday, the ninth of Jumada al-Ula, in the year six hundred and seventy-three, and he was buried on the slope of Qasiyun, near the Mu'azzamiyya madrasa. May God the Exalted have mercy on him.
Al-Nuwayri said in Nihayat al-Arab: When he died, the chief judge Zayn al-Din al-Zawawi the Maliki removed himself from the judgeship at the time of his burial; for he took some of the earth of the grave in his hand and scattered it on him, and said: By God, I will not judge after you; for you have been judging for forty years, and then this is your end. He removed himself from judging, and his deputy, the judge Jamal al-Din Yusuf al-Zawawi, remained judging as before. The Hanafi judgeship after him was entrusted to the judge 'Abd al-Rahman, son of the vizier Kamal al-Din 'Umar Ibn al-'Adim. And God the Exalted knows best.