Hadith 234

Riyad as-Salihin

Book 17: The Book of the Prohibited actions

Chapter 332

Abomination of saying: "Forgive me if you wish, O Allah!"

باب كراهة قول الإنسان: «اللَّهُمَّ اغْفِرْ لِي إنْ شِئْتَ»، بل يجزم بالطلب

Riyad as-Salihin 1744
وعن أنس رضي الله عنه قال‏:‏ قال رسول الله صلى الله عليه وسلم ‏:‏ ‏ ‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏
"‏إذا دعا أحدكم، فليعزم المسألة، ولا يقولن‏:‏ اللهم إن شئت، فأعطني، فإنه لا مستكره له‏"
Anas (May Allah be pleased with him) said:

The Messenger of Allah (ﷺ) said, "When one of you supplicates, let him be decisive and he should not say: 'O Allah, bestow upon me such and such if You wish', because no one has the power to compel Him."[Al-Bukhari and Muslim].