Sunan an-Nasa'i, Book 23, Hadith 148 (Nasa'i 2587)

It was narrated from Salman bin 'Amir that the Prophet said:

"Giving charity to a poor person is charity, and (giving) to a relative is two things, charity and upholding the ties of kinship."