Zayd bin Aslam said: Sayyiduna Ibn Umar (may Allah be pleased with them both) passed by a shepherd of goats and said: O shepherd, is there an animal (for sale)? The shepherd said: Its owner is not here. Ibn Umar (may Allah be pleased with them both) said: You can say that the wolf ate it. The shepherd raised his head towards the sky, then said: Then where is Allah? So Ibn Umar (may Allah be pleased with them both) bought that shepherd and also bought the goats, then set him free and gave him the goats.
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12998