Anas ibn Malik reported: The Messenger of Allah, peace and blessings be upon him, said, “When one of you calls upon Allah, let him be determined in the supplication and he should not say, ‘O Allah, give me if You will,’ for there is no one to coerce Allah.”
Source: Ṣaḥīḥ al-Bukhārī 6338, Ṣaḥīḥ Muslim 2678
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
عَنْ أَنَسٍ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا دَعَا أَحَدُكُمْ فَلْيَعْزِمْ فِي الدُّعَاءِ وَلاَ يَقُلِ اللَّهُمَّ إِنْ شِئْتَ فَأَعْطِنِي فَإِنَّ اللَّهَ لاَ مُسْتَكْرِهَ لَه
6338 صحيح البخاري كتاب الدعوات باب ليعزم المسألة فإنه لا مكره له
2678 صحيح مسلم كتاب الذكر والدعاء والتوبة والاستغفار باب العزم بالدعاء ولا يقل إن شئت