Sure Al-Kahf

18:81

فَأَرَدْنَآ أَن يُبْدِلَهُمَا رَبُّهُمَا خَيْرًۭا مِّنْهُ زَكَوٰةًۭ وَأَقْرَبَ رُحْمًۭا

So wollten wir, daß ihr Herr ihnen zum Tausch einen gebe, - besser als er an Lauterkeit und näher kommend an Güte.

Tafsir 18:81

So I wanted Allah to replace them with a child better than him in religion, piety and purity from sins, and more merciful to his parents.