Sahih Muslim, Book 44, Hadith 264 (Muslim 6367)

Ibn 'Umar reported Allah's Messenger (ﷺ) as saying:

Allah has granted pardon to the tribe of Ghifar and to the tribe of Aslam Allah has granted safety and as for Usayya tribe, they disobeyed Allah and His Messenger.