His father was known as Ibn al-Sha'ir.
His father had him hear much in his youth from Ibn al-Husayn, al-Anmati and others. He studied jurisprudence until he excelled.
He settled in Damascus, taught jurisprudence there, and transmitted hadith.
He came to have a close connection with al-Malik al-Nasir Salah al-Din Yusuf, and he used to correspond with the kings of the outlying regions. When he conquered the lands of Egypt, he travelled there, and stayed teaching, giving fatwas, preaching and transmitting hadith until the time of his death.
He was an excellent jurist, graceful in preaching, abundant in merit, of good character, devout.
Abu Muhammad al-Qasim ibn 'Ali ibn al-Husayn ibn Hibat Allah ibn al-Hafiz al-Dimashqi said, in what he wrote to one of his companions: 'Abd Allah ibn Muhammad ibn Sa'd Allah, Abu Muhammad al-Baghdadi, the Hanafi, the preacher. The greatest of my father's students; he heard much from him. My father said to us: I have not seen among the Hanafis anyone who seeks hadith except three: our shaykh Abu 'Abd Allah al-Balkhi, our colleague Abu 'Ali Ibn al-Wazir al-Dimashqi, and our companion the jurist Abu Muhammad al-Baghdadi.
He said in al-Jawahir: Abu 'Abd Allah al-Balkhi and Abu 'Ali Ibn al-Wazir have each preceded, and Abu Muhammad al-Baghdadi is the subject of this biography.
He studied jurisprudence in his [home] town, and taught at the mosque of Asad al-Din. He had a good effect in urging the attack on the Egyptian lands and rescuing them from those in whose hands they were. He was intensely partisan for the Sunna, extreme in enmity towards the Rafida, of good character. He held the teaching post in Cairo, at the Hanafi madrasa al-Suyufiyya, for a time, until he died in Egypt in the year five hundred and eighty-four. May God the Exalted have mercy on him.
His birth was in Baghdad in Safar, in the year five hundred and thirteen.