Question: What is the ruling on fireworks (الطماش)? Likewise, the money which is gained in exchange for selling them?
Answer: “These fireworks (الطماش) do not have good in them and they are a disturbance. It awakes those sleeping and nowadays they types of (الطماش) that are severe in explosion. Perhaps you would think that its cylinder has gas [in it] which will explode your house”. [https://www.sh-yahia.net/show_s_fatawa_16.html]
The Shaikh also said in another another fatwa:
Question: The questioner says: what is the ruling on selling firecrackers, which are used in weddings?
Answer: “What is necessary in the likes of the cities, where there are a lot of sick people, residents, and elders and other than them from the strangers who do not know, is to increase in tranquility and not have disturbance in these weddings and other than them. This is a notification which we ask Allah to grant Divine success for. Then what follows: These firecrackers include wasting wealth.
Allah, the Exalted says:
وَلاَ تُسْرِفُواْ إِنَّهُ لاَ يُحِبُّ الْمُسْرِفِينَ
And waste not by extravagance. Verily, He likes not Al-Musrifun (those who waste by extravagance) [6:141]
And He says:
وَلاَ تُبَذِّرْ تَبْذِيرًا – إِنَّ الْمُبَذرِينَ كَانُواْ إِخْوَنَ الشَّيَـطِينِ وَكَانَ الشَّيْطَـنُ لِرَبِّهِ كَفُورًا
But spend not wastefully (your wealth) in the manner of a spendthrift. Verily, spendthrifts are brothers of the Shayatin (devils), and the Shaitan (Devil – Satan) is ever ungrateful to his Lord [17:26-27]
This money which you throw in the air, you do not benefit from it in the worldly nor in the hereafter. Rather it is a sin. Placing wealth in other than its correct place. From the general narrations in this chapter/issue:
إِنَّ رِجَالاً يَتَخَوَّضُونَ فِي مَالِ اللَّهِ بِغَيْرِ حَقٍّ، فَلَهُمُ النَّارُ يَوْمَ الْقِيَامَةِ
Some people spend Allah’s Wealth (i.e. Muslim’s wealth) in an unjust manner; such people will be put in the (Hell) Fire on the Day of Resurrection [Bukhari no. 3118]
I advise my brothers who are listening and those who will listen, to avoid these fireworks and other than them from the things which include harm, disturbance, and destruction of wealth and otherwise…”