The Quran says that animals and birds are communities like humans, and that all of them will be gathered to their Lord. When the Prophet ﷺ was asked whether there is a reward for kindness to animals, he said, 'In every living creature with a moist liver there is a reward.' He also forbade tying up a living animal to use it as a target. Muslim scholars derive from these texts a duty to feed, water and shelter the animals one owns, and not to overload or beat them.
Islam does allow people to eat meat, to ride animals and to use them for work, and the Quran counts these as blessings from Allah that call for gratitude. But the Prophet ﷺ taught that Allah has prescribed excellence in everything: when you slaughter, you should sharpen the blade and spare the animal needless suffering. Muslims differ about matters such as hunting for sport or modern factory farming, and some contemporary scholars apply these texts to criticise cruel practices in the food industry. A believer is asked to remember that the animal is a creature of Allah and that he will answer for how he treated it.