Abdullah bin Abbas reported,

The Prophet ﷺ used to seek protection for Hasan and Husayn by saying, "I seek refuge in the perfect words of Allah from every devil, every harmful creature, and every envious eye."He said, "Our father Ibrahim used to seek protection with these words for Ismail and Ishaq," or he said, "for Ismail and Yaqub."This is the wording of Waki's hadith.

Ibn Majah 3525

Sahih

حدثنا محمد بن سليمان بن هشام البغدادي حدثنا وكيع ح و حدثنا أبو بكر بن خلاد الباهلي حدثنا أبو عامر قالا حدثنا سفيان عن منصور عن منهال عن سعيد بن جبير

عن ابن عباس قال

كان النبي ﷺ يعوذ الحسن والحسين يقول أعوذ بكلمات الله التامة من كل شيطان وهامة ومن كل عين لامة قال وكان أبونا إبراهيم يعوذ بها إسمعيل وإسحق أو قال إسمعيل ويعقوب وهذا حديث وكيع

ابن ماجه 3525صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Medicine
Chapter
What the Prophet ﷺ used to seek protection with and what he used to seek protection for
Numbering
Darussalam 3525
Ibn Majah 3525