Hadithcore
Al-Adab Al-Mufrad, 608
sahih· Al-Albani

Anas reported that the Messenger of Allah, (ﷺ), said, "When one of you makes a supplication, he should be firm in the supplication and not say, 'O Allah, if you like, give to me.' Allah cannot be forced against His will."

حَدَّثَنَا مُحَمَّدُ بْنُ سَلاَمٍ، قَالَ‏:‏ أَخْبَرَنَا إِسْمَاعِيلُ ابْنُ عُلَيَّةَ، عَنْ عَبْدِ الْعَزِيزِ بْنِ صُهَيْبٍ، عَنْ أَنَسٍ قَالَ‏:‏ قَالَ رَسُولُ اللهِ صلى الله عليه وسلم‏:‏ إِذَا دَعَا أَحَدُكُمْ فَلْيَعْزِمْ فِي الدُّعَاءِ، وَلاَ يَقُلِ‏:‏ اللَّهُمَّ إِنْ شِئْتَ فَأَعْطِنِي، فَإِنَّ اللَّهَ لاَ مُسْتَكْرِهَ لَهُ‏.‏

References2 variants
In-Book Reference
Book 31, Hadith 5
English Reference
Book 31, Hadith 608
Related hadiths1
Compare isnād across 1 related chains →