He studied law under al-Hasan ibn Abi Malik and al-Hasan ibn Ziyad and excelled in learning. He was the jurist of Iraq in his time and foremost in law and hadith, with scrupulousness and worship. He died suddenly in the year two hundred and sixty-seven, prostrating in the afternoon prayer. He has the book Tashih al-Athar, the Kitab al-Nawadir, the Kitab al-Mudaraba, the Kitab al-Radd 'ala al-Mushabbiha and others, and he had an inclination towards the school of the Mu'tazila.
(The compiler says:) He is regarded as weak in the transmission of hadith by the hadith scholars, even though in himself he was among the accomplished. al-Sam'ani said: The one well known by this nisba, i.e. al-Thalji, is Abu 'Abd Allah Muhammad ibn Shuja', known as Ibn al-Thalji. He was the jurist of Iraq in his time. He took from al-Hasan ibn Ziyad al-Lu'lu'i and narrated from Yahya ibn Adam, Isma'il ibn 'Ulayya, Waki', Abu Usama and Muhammad ibn 'Umar al-Waqidi, and Ya'qub ibn Shayba and his son's son Muhammad ibn Ahmad ibn Ya'qub, among others, transmitted from him. Ahmad ibn Hanbal was asked about him and said: An innovator, a follower of caprice. al-Mutawakkil sent to Ahmad asking him about Ibn al-Thalji and Yahya ibn Aktham for appointment as judge, and he said: As for Ibn al-Thalji, no. Zakariyya ibn Muhammad al-Saji said: As for Muhammad ibn Shuja', he was a liar; he used devices to invalidate the hadith of the Messenger of God, God bless him and grant him peace, in support of Abu Hanifa. Abu 'Abd Allah al-Harawi, the companion of al-Thalji, related: I heard al-Thalji say: I was born in Ramadan of the year one hundred and eighty-one. He died in the afternoon prayer while prostrating, when four nights of Dhu al-Hijja had passed, in the year two hundred and sixty-six. End of quotation, in summary. In the Siyar al-Nubala', in the fourteenth generation: Muhammad ibn Shuja' the jurist, one of the eminent men, of Baghdad, the Hanafi, known as Ibn al-Thalji. He heard from Ibn 'Ulayya, Waki', Abu Usama and their generation; he took the Qur'an readings from Yahya ibn Adam and law from al-Hasan ibn Ziyad. He was one of the oceans of knowledge, a man of worship, night prayer and recitation. He has the Kitab al-Manasik in sixty-odd parts. He lived eighty-five years and died in the year 266. End of quotation. In the Kamil of Ibn al-Athir, among the events of the year 266: In it died Muhammad ibn Shuja' Abu Bakr al-Thalji. He was one of the companions of al-Hasan ibn Ziyad, the companion of Abu Hanifa. al-Thalji is with the tha' dotted with three dots and the jim. End of quotation. In al-Nihaya Sharh al-Hidaya of Badr al-Din Mahmud al-'Ayni: al-Thalji, Muhammad ibn Shuja', a nisba to Thalj ibn 'Amr ibn Malik ibn 'Abd Manaf; he is not named after the sale of ice (thalj). He is also called Ibn al-Thalji. He has many works. If you say: The people of hadith censure him severely, and Ibn al-Jawzi reported from Ibn 'Adi that he used to fabricate hadith on anthropomorphism and ascribe them to the people of hadith — I say: among his works is the book al-Radd 'ala al-Mushabbiha, so how could that be true of him? He was religious, righteous, devout, the jurist of the people of opinion in his time. End of quotation, in summary. In the Tabaqat of al-Qari: He was the jurist of the people of Iraq in his time and foremost in law, hadith and Qur'an reading, with scrupulousness and worship. al-Hakim said: Muhammad ibn Ahmad ibn Musa al-Qummi transmitted from his father, from him, his Kitab al-Manasik in sixty-odd large parts. He also has Tashih al-Athar, which is a large book, the Kitab al-Nawadir, the Kitab al-Mudaraba and the Kitab al-Radd 'ala al-Mushabbiha, and he had an inclination towards the Mu'tazila. Abu al-Hasan 'Ali ibn Salih said: My grandfather told me that he heard al-Thalji say: Bury me in this house, for there is not a course of bricks in it in which I have not completed the Qur'an. End of quotation, in summary.