Jami` at-Tirmidhi 3436
Grading supplied with this record: Da'if (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا أَبُو سَلَمَةَ، يَحْيَى بْنُ الْمُغِيرَةِ الْمَخْزُومِيُّ الْمَدَنِيُّ وَغَيْرُ وَاحِدٍ قَالُوا حَدَّثَنَا ابْنُ أَبِي فُدَيْكٍ، عَنْ إِبْرَاهِيمَ بْنِ الْفَضْلِ، عَنِ الْمَقْبُرِيِّ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ النَّبِيَّ صلى الله عليه وسلم كَانَ إِذَا أَهَمَّهُ الأَمْرُ رَفَعَ رَأْسَهُ إِلَى السَّمَاءِ فَقَالَ سُبْحَانَ اللَّهِ الْعَظِيمِ " . وَإِذَا اجْتَهَدَ فِي الدُّعَاءِ قَالَ " يَا حَىُّ يَا قَيُّومُ " . قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ غَرِيبٌ ."
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).”
Full reference and source
Jami` at-Tirmidhi 3436 In-book : Book 48, Hadith 67 English translation : Vol. 6, Book 45, Hadith 3436
View source on Sunnah.com (opens in a new tab)