Sahih Bukhari | Volume 8 | Hadith Number 356

Narrated by Ibn Abbas
The Prophet used to invoke Allah at the time of distress, saying, "La ilaha illal-lahu al- 'Azim, al-Halim, La ilaha illal-lahu Rabbu-s-samawati wal-ard wa Rabbu-l-arsh il-azim."