Collections of Forty 5

Book 1: Forty Hadith of an-Nawawi

الأربعينات
5Collections of Forty 5
عَنْ أُمِّ الْمُؤْمِنِينَ أُمِّ عَبْدِ اللَّهِ عَائِشَةَ رَضِيَ اللَّهُ عَنْهَا، قَالَتْ: قَالَ: رَسُولُ اللَّهِ صلى الله عليه و سلم "مَنْ أَحْدَثَ فِي أَمْرِنَا هَذَا مَا لَيْسَ مِنْهُ فَهُوَ رَدٌّ <a href="/bukhari/53/7">[رَوَاهُ الْبُخَارِيُّ]</a> ،<a href="/muslim/30/23">[وَمُسْلِمٌ]</a> وَفِي رِوَايَةٍ <a href="/muslim/30/24">لِمُسْلِمٍ</a>: مَنْ عَمِلَ عَمَلًا لَيْسَ عَلَيْهِ أَمْرُنَا فَهُوَ رَدٌّ".

On the authority of the mother of the faithful, Aisha (ra), who said: The Messenger of Allah (saws) said, “He who innovates something in this matter of ours (i.e., Islam) that is not of it will have it rejected (by Allah).” [Bukhari & Muslim] In another version in Muslim it reads: “He who does an act which we have not commanded, will have it rejected (by Allah).”

Reference:
Collections of Forty 5
In-book reference:
Book 1, Hadith 5

Text, translation and grading from Sunnah.com.