The Midrash Shochar Tov (Tehillim #37) relates a fascinating dialogue between Avraham and Shem (Noach's son):
Avraham asked Malki-Zedek (=Shem): How did you [merit to] leave the ark?
Shem said to him: Through the [merit of] tzedaka that we did.
Avraham asked him: What tzedaka was there for you to do? Were there then poor people there? Only Noach and his children were there, so with whom did you do tzedaka?
Shem responded: To the wild animals, the beasts and the birds. We did not sleep the entire night, but rather we were feeding this one and that one. One time we were late [feeding the lion], and my father was left injured.
At that time, Avraham said [to himself]: These [people], had they not done "chessed" with the beasts, wild animals and birds, they would not have left from there, and because he delayed himself a little he received his "reward" and was injured. I, if I do "chessed" with humans who are in the image and likeness of the angels, then all the more so that I will be saved from harm. Immediately, "He planted an Eshel [in Beer-sheva]" (Bereishis 21:33) -- eating, drinking and לויה.
ואימתי קינא. כשאמר למלכי צדק, כיצד יצאתם מן התיבה. אמר לו, בצדקה שהיינו עושים. אמר לו, וכי מה צדקה היה לכם לעשות, וכי עניים היו שם, והלא לא היה אלא נח ובניו, ועל מי הייתם עושים צדקה. אמר לו, על החיה והבהמה והעוף. לא היינו ישנים כל הלילה, אלא היינו נותנין לפני זה ולפני זה. פעם אחת איחרנו את עצמנו, ויצא אבי משובר. אותה שעה אמר אברהם, מה אלו, אלולא שעשו צדקה עם בהמה חיה ועוף לא היו יוצאין משם, ובשביל שאיחר עצמו כמעט קיבל שכרו ונשבר, אני אם אעשה עם בני אדם שהם בדמות וצלם של המלאכים על אחת כמה וכמה שאנצל מן הפגעים. מיד (בראשית כא לג) ויטע אש"ל. א'כילה ש'תיה ל'ויה.