Question:
What is the ruling on buying and selling the instruments of shirk?
Answer:
The buying and selling of things that are used for shirk is also forbidden and impermissible, for example selling idols, selling sheets (chadars) for shrines, selling books based on shirk, and so on. This is cooperation in sin and shirk.
﴿وَتَعَاوَنُوا عَلَى الْبِرِّ وَالتَّقْوَىٰ وَلَا تَعَاوَنُوا عَلَى الْإِثْمِ وَالْعُدْوَانِ﴾
Help one another in matters of righteousness and piety, and do not assist anyone in sin and transgression.
This verse is a general principle: whatever act is established to be sinful and prohibited, it is not permissible to cooperate in it in any respect. Selling prohibited and shirk-related items is also cooperation, so it is forbidden.
❀ Allama Ibn Battal (may Allah have mercy on him)
says:
أجمعت الأمة على أنه لا يجوز بيع الميتة والأصنام، لأنه لا يحل الانتفاع بهما.
The Ummah is unanimously agreed that buying and selling dead animals (carrion) and idols is not permissible, because it is not permissible to derive benefit from them.