22:52
وَ مَآ أَرْسَلْ نَا مِن قَبْلِ كَ مِن رَّسُولٍ وَ لَا نَبِىٍّ إِلَّآ إِذَا تَمَنَّىٰٓ أَلْقَى ٱل شَّيْطَٰنُ فِىٓ أُمْنِيَّتِ هِۦ فَ يَنسَخُ ٱللَّهُ مَا يُلْقِى ٱل شَّيْطَٰنُ ثُمَّ يُحْكِمُ ٱللَّهُ ءَايَٰتِ هِۦ وَ ٱللَّهُ عَلِيمٌ حَكِيمٌ
And We did not send before you any messenger or prophet except that when he spoke [or recited], Satan threw into it [some misunderstanding]. But Allah abolishes that which Satan throws in; then Allah makes precise His verses. And Allah is Knowing and Wise.
28:82
وَ أَصْبَحَ ٱلَّذِينَ تَمَنَّ وْا۟ مَكَانَ هُۥ بِ ٱلْ أَمْسِ يَقُولُ ونَ وَيْكَأَنَّ ٱللَّهَ يَبْسُطُ ٱل رِّزْقَ لِ مَن يَشَآءُ مِنْ عِبَادِ هِۦ وَ يَقْدِرُ لَوْلَآ أَن مَّنَّ ٱللَّهُ عَلَيْ نَا لَ خَسَفَ بِ نَا وَيْكَأَنَّ هُۥ لَا يُفْلِحُ ٱلْ كَٰفِرُونَ
And those who had wished for his position the previous day began to say, "Oh, how Allah extends provision to whom He wills of His servants and restricts it! If not that Allah had conferred favor on us, He would have caused it to swallow us. Oh, how the disbelievers do not succeed!"
53:24
أَمْ لِ لْ إِنسَٰنِ مَا تَمَنَّىٰ
Or is there for man whatever he wishes?