What Has Been Related About What One Says In Times of Distress Jami` at-Tirmidhi 3436
Arabic hadith text
حَدَّثَنَا أَبُو سَلَمَةَ، يَحْيَى بْنُ الْمُغِيرَةِ الْمَخْزُومِيُّ الْمَدَنِيُّ وَغَيْرُ وَاحِدٍ قَالُوا حَدَّثَنَا ابْنُ أَبِي فُدَيْكٍ، عَنْ إِبْرَاهِيمَ بْنِ الْفَضْلِ، عَنِ الْمَقْبُرِيِّ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ النَّبِيَّ صلى الله عليه وسلم كَانَ إِذَا أَهَمَّهُ الأَمْرُ رَفَعَ رَأْسَهُ إِلَى السَّمَاءِ فَقَالَ "سُبْحَانَ اللَّهِ الْعَظِيمِ " . وَإِذَا اجْتَهَدَ فِي الدُّعَاءِ قَالَ " يَا حَىُّ يَا قَيُّومُ " . قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ غَرِيبٌ
Translation
Abu Hurairah narrated that
When a matter would worry the Prophet (ﷺ), he would raise his head up toward the sky and say: “Glory is to Allah, the Magnificent (Subḥān Allāhil-`Aẓīm).” And when he would strive in supplication; he would say: “O the Living, O Sustainer (Yā Ḥayyu yā Qayyūm).”