The Messenger of Allah ﷺ said, "Aslam, may Allah keep them safe. Ghifar, may Allah forgive them. And Usayyah has disobeyed Allah and His Messenger."
حدثنا علي بن حجر حدثنا إسمعيل بن جعفر عن عبد الله بن دينار
أن رسول الله ﷺ قال أسلم سالمها الله وغفار غفر الله لها وعصية عصت الله ورسوله
Muslim also recorded it in the Book of the Virtues of the Companions, in the chapter on the Prophet's ﷺ supplication for Ghifar and Aslam, hadith no. 2518, from Ali bin Hajar through the same chain. It will also come up at no. 3948.