Sahih Muslim, Book 1, Hadith 283 (Muslim 374)

It is narrated on the authority of Anas that the Messenger of Allah (ﷺ) said:

"The Hour (Resurrection) will not occur as long as anyone says: 'Allah, Allah.'"