Sahih al-Bukhari 3472
Ishaq bin Nasr narrated to us that Abdur Razzaq told us. He narrated from Ma'mar, Ma'mar from Hammam, and Hammam from Hazrat Abu Hurairah (ra), that he said: The Prophet (saw) said: “A man bought his land from another man. The man who had taken the land found in his land a jar in which there was gold. So the man who had taken the land said: ‘Take your gold from me, for we only bought the land from you, and did not buy gold from you.’ And the man whose land it had been said: ‘I sold you the land and whatever was in it.’ In the end the two of them went to a man for a settlement, and the man to whom they had gone to settle the dispute asked: ‘Do you have children?’ One of them said: ‘Yes, a boy’, and the other said: ‘I have a girl.’ So he said: ‘Marry the boy to this girl, and spend on the two of them from this gold, and also give in charity (Sadaqah).’”
AI-translated by Islam-Today