It wasnarrated from Ibn Mas'ud that the Prophet (ﷺ) said:
"Allahummainni a'udhu bika minash-Shaitanir-rajim, wa hamzihi wanafkhihi wamafthihi (O Allah, I seek refuge in You from the accursedSatan, fromhis madness, his pride, and his poetry)." (DE)
English reference (DE): Vol. 1, Book 5, Hadith 808 (DE)
Arabic reference (DE): Book 5, Hadith 857 (DE)