Hasan ibn Muhammad ibn al-Hanafiyya

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.

Sunni view
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.

Ibn Sa'd stated: Al Hasan bin Muhammad was preferred above his brother.