Pets are allowed in Islam as long as they are treated well and are not harmful to humans. Cats, dogs, birds, and even fish are all acceptable pets according to the Quran. It is even encouraged to be kind to animals, as they are seen as creatures of Allah. However, there are some animals that are considered unclean and are therefore not allowed to be kept as pets, such as pigs and monkeys.
Islam teaches that all creatures are to be treated with kindness and compassion, as they are all creations of Allah. This includes animals, which are to be treated with respect and given proper care. Pets are allowed in Islam, as long as they are treated well and are not harmful to humans. Cats, dogs, birds, and even fish are all acceptable pets according to the Quran. It is even encouraged to be kind to animals, as they are seen as creatures of Allah.

However, there are some animals that are considered unclean and are therefore not allowed to be kept as pets, such as pigs and monkeys. These animals are seen as impure and are not to be kept in the home. In addition, some Muslims believe that it is best to not keep any pets at all, as they may be a distraction from prayer and other religious duties.
Ultimately, the decision of whether or not to have a pet is up to the individual Muslim. However, all Muslims should treat animals with kindness and compassion, as they are creations of Allah.