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.
حدثنا محمد بن سليمان بن هشام البغدادي حدثنا وكيع ح و حدثنا أبو بكر بن خلاد الباهلي حدثنا أبو عامر قالا حدثنا سفيان عن منصور عن منهال عن سعيد بن جبير
كان النبي ﷺ يعوذ الحسن والحسين يقول أعوذ بكلمات الله التامة من كل شيطان وهامة ومن كل عين لامة قال وكان أبونا إبراهيم يعوذ بها إسمعيل وإسحق أو قال إسمعيل ويعقوب وهذا حديث وكيع