It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "Every good deed or act of kindness that any one of you does for a wealthy person or a poor person is counted as charity on his part."
Hadith Referenceالمطالب العالية بزوائد المسانيد الثمانية / كتاب الزكاة / 975
Hadith Takhrij«حکم الحدیث المطالب العالیہ محققاً تنسیق د. سعد بن ناصر بن عبد العزيز الشَّثري- مکتبہ شاملہ :لم يذكر حكمًا صريحًا على الإسناد. » «أخرجه مجمع الزوائد ومنبع الفوائد برقم: 4146، 4147، وأخرجه إتحاف الخيرة المهرة بزوائد المسانيد العشرة برقم: 2100/3، 5164، 5165/2»