Q. Respected Mufti Sahib I have a pet hamster who is old and quite ill. Is it permissible to have him euthanized at the SPCA?
A. If an animal/pet is in pain and agony and there is no hope of its recovery and it is close to dying, then there is no sin in euthanizing such an animal/pet to relieve it of its pain.
Hence, in the enquired situation, if this is the case of your pet hamster, it will be permissible for it to be euthanized. (Shaami 6/474)
Allah Ta’ala Knows Best
Mufti Ismaeel Bassa