Sunan an-Nasa'i, Volume 4, Book 29, Hadith 3634 (DarusSalam)

It was narrated that 'Umar, may Allah be pleased with him, said: "Umar came to the Messenger of Allah and said: 'O Messenger of Allah, I have acquired some wealth the like of which I have never acquired before. I had one hundred head (of livestock) with which I bought one hundred shares of Khaibar from its people. I wanted to draw closer to Allah, the Mighty and Sublime, by means of it.' He said: 'Freeze it and donate its fruits.'"

أَخْبَرَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ الْخَلَنْجِيُّ، بِبَيْتِ الْمَقْدِسِ قَالَ حَدَّثَنَا سُفْيَانُ، عَنْ عُبَيْدِ اللَّهِ بْنِ عُمَرَ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، عَنْ عُمَرَ، رضى الله عنه قَالَ جَاءَ عُمَرُ إِلَى رَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالَ يَا رَسُولَ اللَّهِ إِنِّي أَصَبْتُ مَالاً لَمْ أُصِبْ مِثْلَهُ قَطُّ كَانَ لِي مِائَةُ رَأْسٍ فَاشْتَرَيْتُ بِهَا مِائَةَ سَهْمٍ مِنْ خَيْبَرَ مِنْ أَهْلِهَا وَإِنِّي قَدْ أَرَدْتُ أَنْ أَتَقَرَّبَ بِهَا إِلَى اللَّهِ عَزَّ وَجَلَّ ‏.‏ قَالَ ‏ "‏ فَاحْبِسْ أَصْلَهَا وَسَبِّلِ الثَّمَرَةَ ‏" ‏ ‏.‏

sunnah.com