It was narrated that Hudhaifah said:
"The Messenger of Allah (ﷺ) said: 'Allah will not accept any fasting, prayer, charity, Hajj, 'Umrah, Jihad, or any other obligatory or voluntary action from a person who follows innovation (Bid'ah). He comes out of Islam like a hair pulled out of dough." (Maudu')
English reference: Vol. 1, Book 1, Hadith 49
Arabic reference: Book 1, Hadith 51
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.