Imam Al-Nawawi’s Riyad-us-Saliheen
Abomination of saying: “Forgive me if you wish, O Allah!”
1743. Abu Hurairah (May Allah be pleased with him) said: The Messenger of Allah (sallallaahu alayhi wa sallam) said, “You must not supplicate: `O Allah! forgive me if You wish; O Allah bestow mercy on me if You wish.’ But beg from Allah with certitude for no one has the power to compel Allah.”
[Al-Bukhari and Muslim]
Another narration of Muslim is: “A supplication should be made in full confidence and one should persistently express his desire (before Allah) in his supplication, for no bounty is too great for Allah to bestow (upon his slaves).”
1744. Anas (May Allah be pleased with him) said: The Messenger of Allah (sallallaahu alayhi wa sallam) 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].