A divine reward:
Allah, the All-Preserver, preserves the offspring of His close servants in their lives and after their death. An example here is Ya‘qūb (Jacob) (peace be upon him) to whom Allah restored his beloved child Joseph (peace be upon him) after long years of absence and who said:
{...But Allah is the best Preserver, and He is the Most Merciful of those who show mercy.}[Surat Yūsuf: 64]Another example is when Moses and Al-Khidr (peace be upon both of them) went to a village and asked its people for food, but they refused to host them. Then, Moses and Al-Khidr found a wall on the point of collapse; so, Al-Khidr rebuilt it.{As for the wall, it belonged to two orphan boys in the city, and there was a treasure under it that belonged to them. Their father was a righteous man, so your Lord willed that they should reach their maturity and retrieve their treasure, as a mercy from your Lord; I did not do it of my own accord. This is the interpretation of that which you could not bear with patience.”}
[Surat al-Kahf: 82]
Also, the just Caliph ‘Umar ibn ‘Abdul-‘Azīz died and was survived by seven sons and seven daughters. He left them nothing except Allah Almighty. So, Allah preserved them. Scholars said: “His children became among the richest of people.”