I heard the Prophet ﷺ say, "May Allah forgive Ghifar, and may Allah grant peace to Aslam."
حدثنا سليمان بن داود حدثنا شعبة عن عبد الله بن دينار
سمع النبي ﷺ يقول غفار غفر الله لها وأسلم سالمها الله
Its isnad is sahih, and it has already appeared through multiple routes, both abridged and in full, the first at 4702 and the last at 6198, see also the hadith that follows this one.