Hadith 1647
'Aishah (May Allah be pleased with her) said:
Aisha bint Abu Bakr's storyوعن عائشة رضي الله عنها قالت: قال رسول الله صلى الله عليه وسلم : "من عمل عملا ليس عليه أمرنا فهو رد" ((رواه مسلم)).
The Messenger of Allah (ﷺ) said, "He who does something contrary to our way (i.e., Islam) will have it rejected." [Muslim].
In plain words
Whoever introduces into the faith something that is not part of it will have it rejected. Placed here, it warns against altering ourselves or our religion beyond what Allah and His Messenger gave.
Reference : Riyad as-Salihin 1647 In-book reference : Book 17, Hadith 137