Questioner: […]What is the ruling of selling, buying or using firecrackers and what are called “fireworks”?
Shaikh Ibn ‘Uthaimīn: […]All praise be to Allāh, Lord of all creation, and may Allāh increase in His praise of our prophet Muḥammad in His highest gatherings, as well as his family and all of his companions.
What I hold is that selling them and buying them is prohibited, and that is due to two reasons.
The first reason is that it is wasting wealth, and wasting wealth is prohibited, due to the Prophet ﷺ having prohibited that.
The second is that there is a harm [and nuisance] in them to people due to their annoying noises; and on occasion, fires occur as a result of them when they fall on something flammable while they’re still live, not having been extinguished.
So due to these two reasons, we hold that they are prohibited, and that it is not permissible to sell them or buy them.
Majmū‘ Al-Fatāwá, vol. 28, p. 98.