Sunan Abi Dawud, Book 9, Hadith 112 (Abu Dawud 1668)

Narrated Umm Bujayd:

She took the oath of allegiance to the Messenger of Allah (ﷺ) and said to him: Messenger of Allah, a poor man stands at my door, but I find nothing to give him. The Messenger of Allah (ﷺ) said to her: If you do not find anything to give him, put something in his hand, even though it should be a burnt hoof.