Hadithcore
Mishkat al-Masabih, 1916

Jabir reported God’s messenger as saying, “If anyone cultivates waste land he will have a reward for it, and what any creature seeking food* eats of it will count as <i>sadaqa</i> to him.” Nasa’i and Darimi transmitted it. * This includes man, beast and bird. The word is 'afiya.

وَعَنْ جَابِرٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسلم: «من أحيى أَرْضًا مَيِّتَةً فَلَهُ فِيهَا أَجْرٌ وَمَا أَكَلَتِ الْعَافِيَةُ مِنْهُ فَهُوَ لَهُ صَدَقَةٌ» . رَوَاهُ النَّسَائِيُّ والدارمي

References1 variant
In-Book Reference
Book 6, Hadith 142