Yahya related to me from Malik that Yahya ibn Said said that hehad heard that Khalid ibn al-Walid said to the Messenger of Allah, mayAllah bless him and grant him peace, "I have nightmares." TheMessenger of Allah, may Allah bless him and grant him peace, said tohim, "Say, 'I seek refuge with the complete words of Allah from Hisanger and His punishment and the evil of His slaves, and from the evilsuggestions of the shayatin and from their being present (at death).'"Audhu bi kalimati' llahi't-tammati min ghadabihi wa iqabihiwa sharri ibadihi wa min hamazati' sh-shayatin wa an yahdurun.
USC-MSA web (English) reference: Book 51, Hadith 9
Arabic reference: Book 51, Hadith 1741