Maliks Muwatta Book 51, Hadith Number 9.
Section : Taking Refuge.
Yahya related to me from Malik that Yahya ibn Said said that he had heard that Khalid ibn al-Walid said to the Messenger of Allah, may Allah bless him and grant him peace, “I have nightmares.” The Messenger of Allah, may Allah bless him and grant him peace, said to him, “Say, ‘I seek refuge with the complete words of Allah from His anger and His punishment and the evil of His slaves, and from the evil suggestions of the shayatin and from their being present (at death).'”
Audhu bi kalimati’ llahi’t-tammati min ghadabihi wa iqabihi wa sharri ibadihi wa min hamazati’ sh-shayatin wa an yahdurun.