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[broken anchor] he is included in is the Hadith of prohibition of Mut'ah at Khaybar[clarification needed].