(40) باب مَا جَاءَ مَا يَقُولُ عِنْدَ الْكَرْبِ
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)."
Reference: Jami` at-Tirmidhi 3436
In-book reference: Book 48, Hadith 67
English translation: Vol. 6, Book 45, Hadith 3436
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.