كتاب الزكاة
12
The Book of Zakat
(44)
Chapter: Giving to those whose hearts have been inclined (towards Islam) and to those for whose faith there is fear if they are not given anything, and putting up with the one who asks rudely due to ignorance, and the Khawarij and rulings regarding them
(44)
باب إِعْطَاءِ مَنْ سَأَلَ بِفُحْشٍ وَغِلْظَةٍ ‏

Anas b. Malik reported:

I was walking with the Messenger of Allah (ﷺ) and he had put on a mantle of Najran with a thick border. A bedouin met him and pulled the mantle so violently that I saw this violent pulling leaving marks of the border of the mantle on the skin of the neck of the Messenger of Allah (ﷺ). And he (the bedouin) said: Muhammad, issue command that I should be given out of the wealth of Allah which is at your disposal. The Messenger of Allah (ﷺ) turned his attention to him and smiled, and then ordered for him a gift (provision).
حَدَّثَنِي عَمْرٌو النَّاقِدُ، حَدَّثَنَا إِسْحَاقُ بْنُ سُلَيْمَانَ الرَّازِيُّ، قَالَ سَمِعْتُ مَالِكًا، ح وَحَدَّثَنِي يُونُسُ بْنُ عَبْدِ الأَعْلَى، - وَاللَّفْظُ لَهُ - أَخْبَرَنَا عَبْدُ اللَّهِ بْنُ وَهْبٍ، حَدَّثَنِي مَالِكُ، بْنُ أَنَسٍ عَنْ إِسْحَاقَ بْنِ عَبْدِ اللَّهِ بْنِ أَبِي طَلْحَةَ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ كُنْتُ أَمْشِي مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم وَعَلَيْهِ رِدَاءٌ نَجْرَانِيٌّ غَلِيظُ الْحَاشِيَةِ فَأَدْرَكَهُ أَعْرَابِيٌّ فَجَبَذَهُ بِرِدَائِهِ جَبْذَةً شَدِيدَةً نَظَرْتُ إِلَى صَفْحَةِ عُنُقِ رَسُولِ اللَّهِ صلى الله عليه وسلم وَقَدْ أَثَّرَتْ بِهَا حَاشِيَةُ الرِّدَاءِ مِنْ شِدَّةِ جَبْذَتِهِ ثُمَّ قَالَ يَا مُحَمَّدُ مُرْ لِي مِنْ مَالِ اللَّهِ الَّذِي عِنْدَكَ ‏.‏ فَالْتَفَتَ إِلَيْهِ رَسُولُ اللَّهِ صلى الله عليه وسلم فَضَحِكَ ثُمَّ أَمَرَ لَهُ بِعَطَاءٍ ‏.‏
Reference : Sahih Muslim 1057 a
In-book reference : Book 12, Hadith 166
USC-MSA web (English) reference : Book 5, Hadith 2296
  (deprecated numbering scheme)