Sahih Muslim, Book 32, Hadith 27 (Muslim 4505)

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

O Allah, if Thou wilt (defeat Muslims), there will be none on the earth to worship Thee.