Maimun bin Abu Shabib (May Allah had mercy upon him) reported:
A begger asked 'Aishah (May Allah be pleased with her) for charity and she gave him a piece of bread. Thereafter, one well-dressed person asked her for charity and she invited him to sit down and served him food. When she was asked about the reason for the difference in treatment, she said: "Messenger of Allah (ﷺ) instructed us: 'Treat people according to their status".[Abu Dawud].
Arabic/English book reference: Book 1, Hadith 356