AskMuftiOnline

Welcome to AskMuftiOnline

Ask a Question Contribute
Login Register

Menu

Ask a Mufti Online Live Chat with a Mufti Questions Category Tree Categories Duas Zakat Calculator Fitra & Fidya

Resources

Blog Scholars About Us Contact Help

Programs

Invest in Us 🌟 Arabic Program Marriage Counselling SOON Become a Scholar Contribute

Language

Ask a Question
Ø¨ŲØŗŲ’Ų…Ų ŲąŲ„Ų„ŲŽŲ‘Ų°Ų‡Ų ŲąŲ„ØąŲŽŲ‘Ø­Ų’Ų…ŲŽŲ°Ų†Ų ŲąŲ„ØąŲŽŲ‘Ø­ŲŲŠŲ…Ų Sunday, 16 August 2026 Sunday, 3 Rab al-awwal 1448 AH
Hadith of the Day: Ų…ŲŽŲ†Ų’ Ų„ŲŽØ§ ŲŠŲŽØąŲ’Ø­ŲŽŲ…Ų’ Ų„ŲŽØ§ ŲŠŲØąŲ’Ø­ŲŽŲ…Ų’ "Whoever does not show mercy will not be shown mercy." — Bukhari, Muslim
Miscellaneous | Aug 16, 2026 | 1 min read

Keeping snakes as pets in islam

Question

Assalamu alaykum. I follow the Hanafi madhhab and wanted to ask: Is it halal to keep a ball python as a pet? Ball pythons are non-venomous and generally harmless, and I would keep it safely and properly care for it. I only want it as a pet. Is this halal, haram, or makruh according to Hanafi fiqh? JazakAllahu khayran.

Islamic Ruling & Answer

Verified

Walekumussalam,

According to the Hanafi school of jurisprudence, keeping a ball python merely as a hobby, for decoration, or as a pet is not permissible. Although it is non-venomous and generally harmless, this does not change the ruling, because it is nevertheless a type of snake, and snakes are considered among harmful creatures.

Therefore, the fact that it will be kept in a secure enclosure and will not cause harm to anyone does not remove the impermissibility of keeping a snake merely as a hobby.

However, if there is a genuine and valid need, such as medical or scientific research or treatment, then a separate allowance may apply to the extent of that necessity.

Therefore, in the situation described, since the purpose is simply to keep a ball python as a pet, one should refrain from doing so according to the Hanafi school.

And Allah knows best

Answered by

Mufti Tosif Qasmi

August 16, 2026

Researched & verified under our editorial & answer-review policy.

Support the Work

Keep authentic Islamic guidance free and accessible for everyone.

Contribute Now
Contribute