Abdullah bin al-Harith narrated: I heard Ibn Abbas (may Allah be pleased with them both) narrating on this very pulpit that the Messenger of Allah (peace and blessings be upon him) used to say these words in times of distress: "There is no god worthy of worship except Allah, the Magnificent, the Forbearing; there is no god worthy of worship except Allah, Lord of the Magnificent Throne; there is no god worthy of worship except Allah, Lord of the heavens and the earth and Lord of the Magnificent Throne; turn away from me the evil of so-and-so."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10726