Sunan At-Tirmidhi
Hadith #3436
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).”