Surah Al-Kahf, ayah 81

18:81

فَأَرَدۡنَآ أَن يُبۡدِلَهُمَا رَبُّهُمَا خَيۡرٗا مِّنۡهُ زَكَوٰةٗ وَأَقۡرَبَ رُحۡمٗا ٨١

Fa aradnā an yubdilahumā rabbuhumā khayram minhu zakawātan wa aqraba ruhmā

So we intended that their Lord should substitute for them one better than him in purity and nearer to mercy.