كتاب الزكاة
12  
The Book of Zakat
(52)
Chapter: Gifts are permissible for the Prophet (saws) and Banu Hashim and Banu Al-Muttalib, even if the giver acquired it by way of charity. When the receipient takes possession of Charity, it is no longer described as charity, and it is permissible for anyone for whom charity is otherwise unlawful
(52)
باب إِبَاحَةِ الْهَدِيَّةِ لِلنَّبِيِّ صلى الله عليه وسلم وَلِبَنِي هَاشِمٍ وَبَنِي الْمُطَّلِبِ
Sahih Muslim 1075 d

This hadith has been transmitted on the authority of 'A'isha in a similar manner except a slight variation that he said:

" That is a gift for us out of it."
وَحَدَّثَنِي أَبُو الطَّاهِرِ، حَدَّثَنَا ابْنُ وَهْبٍ، أَخْبَرَنِي مَالِكُ بْنُ أَنَسٍ، عَنْ رَبِيعَةَ، عَنِ الْقَاسِمِ، عَنْ عَائِشَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم بِمِثْلِ ذَلِكَ غَيْرَ أَنَّهُ قَالَ ‏ "‏ وَهُوَ لَنَا مِنْهَا هَدِيَّةٌ ‏"‏ ‏.‏
Reference : Sahih Muslim 1075d
In-book reference : Book 12, Hadith 226
USC-MSA web (English) reference : Book 5, Hadith 2355
  (deprecated numbering scheme)