Hadithcore
Sahih Muslim, 1536 u
sahih

Jabir (Allah he pleased with him) reported:

I heard Allah's Messenger (ﷺ) as saying: He who has (surplus) land should donate it (to others), or lend it.

حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، حَدَّثَنَا يَحْيَى بْنُ حَمَّادٍ، حَدَّثَنَا أَبُو عَوَانَةَ، عَنْ سُلَيْمَانَ، حَدَّثَنَا أَبُو سُفْيَانَ، عَنْ جَابِرٍ، قَالَ سَمِعْتُ النَّبِيَّ صلى الله عليه وسلم يَقُولُ ‏

‏ مَنْ كَانَتْ لَهُ أَرْضٌ فَلْيَهَبْهَا أَوْ لِيُعِرْهَا ‏

‏ ‏.‏

References2 variants
In-Book Reference
Book 21, Hadith 125
USC-MSA web (English) reference
Book 10, Hadith 3725 (deprecated numbering scheme)