Surah Al-Kahf, Verse 82
Translation — Sahih International
And as for the wall, it belonged to two orphan boys in the city, and there was beneath it a treasure for them, and their father had been righteous. So your Lord intended that they reach maturity and extract their treasure, as a mercy from your Lord. And I did it not of my own accord. That is the interpretation of that about which you could not have patience."
Source
Kur'an-ı Kerim, Kehf Suresi 18:82
https://kuran.diyanet.gov.tr/mushaf/kuran-meal-2/18-suresi-82-ayet