Muwatta Malik #698
Fasting
The Arabic includes the chain of narration (sanad) and the collector's commentary; the English translation shows the Prophet's words only.
وَحَدَّثَنِي عَنْ مَالِكٍ، أَنَّهُ بَلَغَهُ أَنَّ عَبْدَ اللَّهِ بْنَ عُمَرَ، كَانَ يُسْأَلُ هَلْ يَصُومُ أَحَدٌ عَنْ أَحَدٍ، أَوْ يُصَلِّي أَحَدٌ عَنْ أَحَدٍ، فَيَقُولُ لاَ يَصُومُ أَحَدٌ عَنْ أَحَدٍ، وَلاَ يُصَلِّي أَحَدٌ عَنْ أَحَدٍ.
About Muwatta Malik
This hadith is #698 from Muwatta Malik, in the Book of Fasting.