Sunan Ibn Majah, Book 5, Hadith 6 (Ibn Majah 808)

It was narrated from Ibn Mas’ud that the Prophet (ﷺ) said:

“Allahumma inni a’udhu bika minash-Shaitanir-rajim, wa hamzihi wa nafkhihi wa nafthihi (O Allah, I seek refuge in You from the accursed Satan, from his madness, his pride, and his poetry).”