Sunan Ibn Majah (Ibn Majah 50)

It was narrated that 'Abdullah bin 'Abbas said:

"The Messenger of Allah (ﷺ) said: 'Allah refuses to accept the good deeds of one who follows innovation until he gives up that innovation.'"