Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tabarani:10691Muḥammad b. Zakariyyā > al-ʿAbbās > Abū Hilāl > Qatādah > Saʿīd b. al-Musayyib > Ibn ʿAbbās

[Machine] The Messenger of Allah ﷺ said, "Whoever says, 'There is no god but Allah' before everything and 'There is no god but Allah' after everything, he will be protected from worry and sorrow."  

الطبراني:١٠٦٩١حَدَّثَنَا مُحَمَّدُ بْنُ زَكَرِيَّا ثنا الْعَبَّاسُ ثنا أَبُو هِلَالٍ عَنْ قَتَادَةَ عَنْ سَعِيدِ بْنِ الْمُسَيِّبِ عَنِ ابْنِ عَبَّاسٍ ؓ قَالَ

قَالَ رَسُولُ اللهِ ﷺ مَنْ قَالَ لَا إِلَهَ إِلَّا اللهُ قَبْلَ كُلِّ شَيْءٍ وَلَا إِلَهَ إِلَّا اللهُ بَعْدَ كُلِّ شَيْءٍ عُوفِيَ مِنَ الْهَمِّ وَالْحَزَنِ  


See similar narrations below:

Collected by Suyūṭī
suyuti:22569a
Request/Fix translation

  

السيوطي:٢٢٥٦٩a

"مَن قَالْ لا إِلَهَ إِلا الله قَبْلَ كُلِّ شَيء، وَلا إِلَهَ إِلا الله بَعْدَ كُلِّ شَيءٍ، وَلَا إِلَهَ إِلا الله يَبْقَى وَيَفْنَى كُلُّ شَيءٍ، عُوفِي مِنَ الْهَمِّ وَالحَزنِ".  

[طب] الطبرانى في الكبير عن ابن عياش