كتاب فضائل الصحابة رضى الله تعالى عنهم
44  
The Book of the Merits of the Companions
(46)
Chapter: The Supplication Of The Prophet (SAW) For Ghifar And Aslam
(46)
باب دُعَاءِ النَّبِيِّ صلى الله عليه وسلم لِغِفَارَ وَأَسْلَمَ ‏‏
Sahih Muslim 2518 a

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.
حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، وَيَحْيَى بْنُ أَيُّوبَ، وَقُتَيْبَةُ، وَابْنُ، حُجْرٍ قَالَ يَحْيَى بْنُ يَحْيَى أَخْبَرَنَا وَقَالَ الآخَرُونَ، حَدَّثَنَا إِسْمَاعِيلُ بْنُ جَعْفَرٍ، عَنْ عَبْدِ اللَّهِ بْنِ دِينَارٍ، أَنَّهُ سَمِعَ ابْنَ، عُمَرَ يَقُولُ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ غِفَارُ غَفَرَ اللَّهُ لَهَا وَأَسْلَمُ سَالَمَهَا اللَّهُ وَعُصَيَّةُ عَصَتِ اللَّهَ وَرَسُولَهُ ‏"‏ ‏.‏
Reference : Sahih Muslim 2518a
In-book reference : Book 44, Hadith 264
USC-MSA web (English) reference : Book 31, Hadith 6118
  (deprecated numbering scheme)