Narrated Anas
Allah's Messenger (ﷺ) said, "When anyone of you appeal to Allah for something, he should ask with determination and should not say, 'O Allah, if You wish, give me.', for nobody can force Allah to do something against His Will.
Narrated Abu Huraira
Allah's Messenger (ﷺ) said, "None of you should say: 'O Allah, forgive me if You wish; O Allah, be merciful to me if You wish,' but he should always appeal to Allah with determination, for nobody can force Allah to do something against His Will."