Mishkat al-Masabih #1943
Fasting
The Arabic includes the chain of narration (sanad) and the collector's commentary; the English translation shows the Prophet's words only.
عَنْ مَالِكٍ بَلَغَهُ أَنَّ ابْنَ عُمَرَ كَانَ يُسْأَلُ: هَلْ يَصُومُ أَحَدٌ عَنْ أَحَدٍ أَوْ يُصَلِّي أَحَدٌ عَنْ أَحَدٍ؟ فَيَقُولُ: لَا يَصُومُ أَحَدٌ عَنْ أَحَدٍ. وَلَا يُصَلِّي أَحَدٌ عَنْ أحد. رَوَاهُ فِي الْمُوَطَّأ
Malik said he heard that Ibn ‘Umar used to be asked whether one might fast or pray on behalf of another, and reply, “One may neither fast nor pray on behalf of another.”
He transmitted it in al-Muwatta’.
Topics
About Mishkat al-Masabih
This hadith is #1943 from Mishkat al-Masabih, in the Book of Fasting.