The Prophet ﷺ said, "Aslam, may Allah keep them safe, and Ghifar, may Allah forgive them."
حدثنا عفان حدثنا شعبة حدثنا عبد الله بن دينار
عن النبي ﷺ أسلم سالمها الله وغفار غفر الله لها
Its isnad is sahih, and it is an abridged version of 5261.