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.'