Narrated Abu Huraira:
The Prophet said, “If somebody keeps a horse in Allah’s Cause motivated by his faith in Allah andĀ his belief in His Promise, then he will be rewarded on the Day of Resurrection for what the horse hasĀ eaten or drunk and for its dung and urine.”
Sahih Bukhari, Volume 4, Book52, Number 105