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]. (ID)
App reference (ID): Book 18, Hadith 234 (ID)
Arabic/English book reference (ID): Book 18, Hadith 1744 (ID)