The Prophet ﷺ said, "There are four phrases that are the best of speech, and it does not matter which one you begin with: Subhan Allah, Alhamdulillah, La ilaha illa Allah, and Allahu Akbar."
حدثنا أبو عمر حفص بن عمرو حدثنا عبد الرحمن بن مهدي حدثنا سفيان عن سلمة بن كهيل عن هلال بن يساف
عن النبي ﷺ قال أربع أفضل الكلام لا يضرك بأيهن بدأت سبحان الله والحمد لله ولا إله إلا الله والله أكبر
[Sahih] Ahmad narrated it (20/5) from the hadith of Sufyan Thawri, with this chain, and Shubah followed him in narrating it (Ahmad 11/5 and elsewhere). Muslim also narrated it in the Book of Manners, chapter on the disapproval of naming with ugly names, etc, hadith 12/2137, from the hadith of Hilal bin Yasaf, from Rabi bin Umayla, from Samura bin Jundab, with this chain.