All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
The scholarly opinion adopted at Islamweb is that of permissibility of spaying and neutering cats and preventing unwanted pregnancies if there is a benefit in doing so or if it would ward off harm. The author of the Hanafi book Al-Muheet Al-Burhaani stated: “There is nothing wrong with spaying and neutering cats if it yields a benefit or wards off their harms.” [End of quote]
Shaykh Ibn ‘Uthaymeen was asked: “In the West, they spay and neuter cats to ward off nuisance; what is the ruling on that?” He replied: “If there are so many cats causing a nuisance and the procedure does not harm them, then there is nothing wrong with it because it is better than killing them after they have been created ... But if it is the usual cats and they are harmless, then perhaps there is benefit in letting them reproduce.” [End of quote from Fataawa Islaamiyyah, compiled and arranged by Muhammad ibn ‘Abdul-‘Azeez ibn ‘Abdullah Al-Musnid]
Allah Knows best.