I heard 'Umar say: The Prophet ﷺ used to give me things and I would say: Give it to one who has more need of it than me. Then one time he gave me some wealth and I said: Give it to one who has more need of it than me. The Prophet ﷺ said: ʿTake it and keep it or give it in charity. Whatever of this wealth comes to you when you are not hoping for it or asking for it, take it, otherwise do not hanker after it.” It was narrated from Salim, that his father said: I heard ‘Umar say: The Messenger of Allah ﷺ used to give me things... and he mentioned a similar hadeeth.
قَالَسَمِعْتُ عُمَرَ يَقُولُ كَانَ النَّبِيُّ ﷺ يُعْطِينِي الْعَطَاءَ فَأَقُولُ أَعْطِهِ أَفْقَرَ إِلَيْهِ مِنِّي حَتَّى أَعْطَانِي مَرَّةً مَالًا فَقُلْتُ أَعْطِهِ أَفْقَرَ إِلَيْهِ مِنِّي فَقَالَ النَّبِيُّ ﷺ خُذْهُ فَتَمَوَّلْهُ وَتَصَدَّقْ بِهِ فَمَا جَاءَكَ مِنْ هَذَا الْمَالِ وَأَنْتَ غَيْرُ مُشْرِفٍ وَلا سَائِلٍ فَخُذْهُ وَمَا لَا فَلا تُتْبِعْهُ نَفْسَكَ