The Messenger of Allah ﷺ said, "Allah refuses to accept the deeds of an innovator until he abandons his innovation."
حدثنا عبد الله بن سعيد حدثنا بشر بن منصور الحناط عن أبي زيد عن أبي المغيرة
قال رسول الله ﷺ أبى الله أن يقبل عمل صاحب بدعة حتى يدع بدعته
No references are available.
[Its chain of transmission is daif] Ibn Abu Asim narrated it in Sunnah, no. 39, from the hadith of Abdullah bin Saeed Ashaj, through this route. Abu Zayd and Abu Mughira are unknown, as stated in Taqrib and other sources.