Muḥammad ibn Muslim al-Thaqafī al-Kūfī (Arabic: محمد بن مسلم الثقفي الكوفي) (d. 150/767-768) was a mawla of Thaqif, was a traditionalist, a practising lawyer, and an ascetic (zahid), who was highly regarded in the legal circles of Kufa.
[2] He was a prominent companion of Muhammad al Baqir and al-Sadiq and one of the People of Consensus (Ashab al-ijma).
In rijal sources, several epithets have been attributed to him, including al-Awqas, al-A'war, al-Haddaj, al-Qasir, al-Tahhan, al-Samman, al-Ta'ifi, and al-Thaqafi.
According to a report, Jafar al-Sadiq counted Muhammad among the trustees of his father, al-Baqir, in matters of religion and as a protector of the Shia.
It is reported that great Sunni figures such as Abu Hanifa would refer to him in scholarly issues.