All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger. We ask Allaah to exalt his mention as well as that of his family and all his companions.
It is permissible to use, sell and buy fireworks on the condition that this does not cause frightening or harming a Muslim, and would not lead one to neglect his religious obligations. In addition to this, their price should not be very expensive, as in this case they would be forbidden. Fireworks are permissible in principle but it they lead to something forbidden, which is the loss of money and spending money inappropriately, then this is wasting money which is forbidden.
We do not think that using fireworks involves worshipping the fire because not every person who uses the fire worships it.
Allaah Knows best.