It is narrated from Sayyiduna Abdullah bin Amr (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) prayed Zuhr and found a riding camel tied up. He (peace and blessings be upon him) said: "Where is the owner of this mount?" But no one answered him. He (peace and blessings be upon him) entered the mosque and prayed, and when he had finished he came out and found the mount just as it was, so he said: "Where is the owner of this mount?" This time its owner answered and said: I am its owner, O Prophet of Allah. He (peace and blessings be upon him) said: "Do you not fear Allah regarding it? Either give it fodder, or let it go so that it can seek fodder for itself."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 13707