Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:3082Sufyān b. Wakīʿ > Ibn Numayr > Ismāʿīl b. Ibrāhīm b. Muhājir > ʿAbbād b. Yūsuf > Abū Burdah b. Abū Mūsá from his father

from his father, that the Messenger of Allah ﷺ said: "Allah sent down two guarantees of safety for the benefit of my Ummah: And Allah would not punish them while you are among them, nor will He punish them while they seek forgiveness (8:33). So when I pass, I leave seeking forgiveness among them until the Day of Resurrection."  

الترمذي:٣٠٨٢حَدَّثَنَا سُفْيَانُ بْنُ وَكِيعٍ حَدَّثَنَا ابْنُ نُمَيْرٍ عَنْ إِسْمَاعِيلَ بْنِ إِبْرَاهِيمَ بْنِ مُهَاجِرٍ عَنْ عَبَّادِ بْنِ يُوسُفَ عَنْ أَبِي بُرْدَةَ بْنِ أَبِي مُوسَى عَنْ أَبِيهِ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ أَنْزَلَ اللَّهُ عَلَىَّ أَمَانَيْنِ لأُمَّتِي ( وَمَا كَانَ اللَّهُ لِيُعَذِّبَهُمْ وَأَنْتَ فِيهِمْ ) ( وَمَا كَانَ اللَّهُ مُعَذِّبَهُمْ وَهُمْ يَسْتَغْفِرُونَ ) إِذَا مَضَيْتُ تَرَكْتُ فِيهِمْ الاِسْتِغْفَارَ إِلَى يَوْمِ الْقِيَامَةِ هَذَا حَدِيثٌ غَرِيبٌ وَإِسْمَاعِيلُ بْنُ إِبْرَاهِيمَ بْنِ مُهَاجِرٍ يُضَعَّفُ فِي الْحَدِيثِ  


See similar narrations below:

Collected by Suyūṭī
suyuti:4526a

from his father, that the Messenger of Allah ﷺ said: "Allah sent down two guarantees of safety for the benefit of my Ummah: And Allah would not punish them while you are among them, nor will He punish them while they seek forgiveness (8:33). So when I pass, I leave seeking forgiveness among them until the Day of Resurrection." (Using translation from Tirmidhī 3082)   

السيوطي:٤٥٢٦a

"أَنزَلَ اللهُ عليَّ أَمَانين لأُمَّتِى: "وَمَا كَانَ اللهُ لِيُعَذِّبَهُمْ وَأَنْتَ فِيهِمْ، وَمَا كَانَ اللهُ مُعَذِّبَهُمْ وَهُمْ يَسْتَغْفِرُون"، فإِذا قَضَيتُ تَرَكْتُ فِيهِمْ الاسْتِغْفَارَ إِلى يوم القيامة".  

[ت] الترمذي وضعَّفه عن أَبي موسى