Abu Hurairah reported,

The Messenger of Allah ﷺ said, "When one of you supplicates, let him not say, 'O Allah, forgive me if You will,' but let him be firm in his request and great in his hope, for nothing is too great for Allah to grant."

Muslim 6812

Sahih

حدثنا يحيى بن أيوب وقتيبة وابن حجر قالوا حدثنا إسمعيل يعنون ابن جعفر عن العلاء عن أبيه

عن أبي هريرة

أن رسول الله ﷺ قال إذا دعا أحدكم فلا يقل اللهم اغفر لي إن شئت ولكن ليعزم المسألة وليعظم الرغبة فإن الله لا يتعاظمه شيء أعطاه

مسلم 6812صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Remembrance, supplication, Tawba, and seeking forgiveness
Chapter
Resolving in supplication and not saying "if You will"
Numbering
Darussalam 6812
Muslim 6812