It is narrated with this chain: The Messenger of Allah (ﷺ) said: "A man from the Children of Israel bought land from another man, and he found in it a pot of gold which was sealed. So he said to the seller of the land: Take your pot, for I bought the land, I did not buy the gold. The other man said: Do you want to return to me the wealth which Allah has taken from me? So they both brought the case before a judge. The judge said: Do either of you have children? They said: Yes. One said: I have a son, and the other said: I have a daughter. He said: Then marry one to the other, and give this wealth to both of them, so they may spend it on themselves and also give charity from it."
Hadith Referenceمسند اسحاق بن راهويه / كتاب الاقضية / 896
Hadith Takhrij«مسلم كتاب الاقضية ، باب استحباب اصلاح الحاكم ، رقم : 1721 . مسند احمد : 316/2 .»
Explanation & Benefits
Hafiz Abdush Shakoor Tirmidhi
Benefits: From the mentioned hadith, it is understood that relating the incidents of previous nations as admonition or lesson is permissible, provided that they are established from the Qur’an or authentic ahadith. It is also understood that in buying and selling, one should fully observe honesty, goodwill, and piety (taqwa). This hadith also affirms the blessing of honesty and goodwill.
A buried treasure (rikaz) belongs to the person who finds it, provided it cannot be determined who buried it. And the entire buried treasure should not be spent solely on oneself; rather, one-fifth (khums) of it must be deposited in the public treasury (bayt al-mal). As the Noble Prophet sallallahu alayhi wa sallam said: ((وَفِیْالرِّکَازِخُمُسٌ)) (Bukhari, Book of Zakat, Hadith: 1499).... “In buried treasure, one-fifth is the right of the public treasury (bayt al-mal).”