Al-Ḥasan ibn Muḥammad ibn al-Ḥanafiyya ( Arabic: الحسن بن محمد بن الحنفية) (died 718 CE/100 AH) was one of the Salaf and a narrator of hadith.
He was the son of Muhammad ibn al-Hanafiyya and the brother of Abd Allah ibn Muhammad ibn al-Hanafiyya.
Among the Isnad he is included in is the Hadith of prohibition of Mut'ah at Khaybar[ clarification needed].
Ibn Hajar al-Asqalani, a 9th century Sunni Shafi'i Islamic scholar [1] judged the two sons of Muhammad ibn al-Hanafiyya to be weak, arguing that one was a murijee, and the other to be a Shi'a. [2]
Al Hasan bin Muhammad was preferred above his brother.