The Prophet ﷺ said, "Allah has chosen four phrases from all speech: Subhan Allah, al-hamdu lillah, la ilaha illa Allah, and Allahu akbar. Whoever says Subhan Allah, twenty good deeds are recorded for him and twenty bad deeds are wiped away from him. Whoever says Allahu akbar receives the same. Whoever says la ilaha illa Allah receives the same. And whoever says al-hamdu lillahi rabbi al-alameen from his own heart has thirty good deeds recorded for him, or thirty bad deeds wiped away from him."
حدثنا عبد الرزاق قال أخبرنا إسرائيل عن أبي سنان عن أبي صالح الحنفي
عن النبي ﷺ قال إن الله اصطفى من الكلام أربعا سبحان الله والحمد لله ولا إله إلا الله والله أكبر فمن قال سبحان الله كتب له عشرون حسنة وحط عنه عشرون سيئة ومن قال الله أكبر فمثل ذلك ومن قال لا إله إلا الله فمثل ذلك ومن قال الحمد لله رب العالمين من قبل نفسه كتب له بها ثلاثون حسنة أو حط عنه ثلاثون سيئة