The hadith
حَدَّثَنَا مُحَمَّدُ بْنُ إِسْمَاعِيلَ ، حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ ، حَدَّثَنَا حَفْصُ بْنُ عُمَرَ الشَّنِّيُّ ، حَدَّثَنِي أَبِي عُمَرُ بْنُ مُرَّةَ ، قَالَ سَمِعْتُ بِلاَلَ بْنَ يَسَارِ بْنِ زَيْدٍ ، مَوْلَى النَّبِيِّ صلى الله عليه وسلم حَدَّثَنِي أَبِي عَنْ جَدِّي سَمِعَ النَّبِيَّ صلى الله عليه وسلم يَقُولُ " مَنْ قَالَ أَسْتَغْفِرُ اللَّهَ الْعَظِيمَ الَّذِي لاَ إِلَهَ إِلاَّ هُوَ الْحَىَّ الْقَيُّومَ وَأَتُوبُ إِلَيْهِ . غُفِرَ لَهُ وَإِنْ كَانَ فَرَّ مِنَ الزَّحْفِ " . قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ غَرِيبٌ لاَ نَعْرِفُهُ إِلاَّ مِنْ هَذَا الْوَجْهِ .
Bilal bin Yasar bin Zaid [the freed slave of the Prophet(saws)] narrated: “My father narrated to me, from my grandfather, that he heard the Prophet (saws) say: ‘Whoever says: “I seek forgiveness from Allah, the Magnificent, whom there is none worthy of worship but Him, the Living, Al-Qayyum, and I repent to him,” (Astaghfirullāhal-`Aẓīm alladhī lā ilāha illā huwal-Ḥayyul-Qayyūmu wa atūbu ilaih) then Allah will forgive him, even if he fled from battle.’”