Abu Hurairah reported,

The Messenger of Allah ﷺ said, "A man bought a piece of land from another man, and the buyer found in his newly acquired land a jar containing gold. The buyer said to the seller, 'Take your gold from me. I only bought the land from you, I did not buy the gold.'The one who had sold the land replied, 'I sold you the land and whatever is in it.'So they took their dispute to another man, who asked them, 'Do you have any children?'One of them said, 'I have a boy.'The other said, 'I have a Jariya.'He said, 'Marry the boy to the Jariya, spend from this gold on yourselves, and give some in charity.'"

Azami 5592

Sahih

عن أبي هريرة قال

قال رسول الله ﷺ: اشتري رجل من رجل عقارا له، فوجد الرجل الذي اشترى العقار في عقاره جرة فيها ذهب، فقال له الذي اشترى العقار: خذ ذهبك مني، إنما اشتريت منك الأرض، ولم أبتع منك الذهب. فقال الذي شرى الأرض: إنما بعتك الأرض وما فيها. فتحاكما إلى رجل، فقال الذي تحاكما إليه: ألكما ولد؟ قال أحدهما: لي. غلام. وقال الآخر: لي جارية. قال: أنكحوا الغلام الجارية، وأنفقوا على أنفسكما منه، وتصدقا.

الأعظمي 5592صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Sales
Chapter
Reconciliation
Section
Using wisdom in reconciliation
Numbering
Jami al-Kamil 5592 (2nd edition)
Azami 5592