Rabu, 04 Januari 2017

Who was ‘Umar al-Khayyaam?

Who was ‘Umar al-Khayyaam and what was his belief (‘aqeedah)? I hope you canm give me an idea about him.

Praise be to Allaah.

His full name was Abu’l-Fath, ‘Umar ibn Ibraaheem al-Khayyaami al-Naysapoori. He was a poet and philosopher from among the people of Naysapoor, where he was born and died.

He was born in 408 AH, in the town of Naysapoor, where he died and was buried in 517 AH, or it was said, 515 AH.

He was a scholar who was well versed in mathematics, astronomy, language, fiqh and history.

Because of his brilliance as an astronomer, he was appointed as director of the observatory in Baghdaad, and because of his interest in philosophy, his name is associated with that of Ibn Seenaa (Avicenna), who wrote articles filled with kufr which put him beyond the pale of Islam.

He is also famous for his poetry, the best known of which is al-Rubaa’iyaat, which is filled with ideas of kufr, promiscuity and heresy. No wonder the West took such an interest in publishing and distributing this book! It has been translated into many languages, such as English, French, Russian, German, etc. The British sought to spread the ideas of immorality and promiscuity advocated by al-Khayyaam in al-Rubaa’iyaat, so they spread it in the countries which they colonized, such as India and Iran, and attributed it to one of the Muslims, rather one of the greatest of them – or so they claimed.

One of the verses about wine – in al-Rubaa’iyaat – says:

Drink wine, for it is the relaxation of the soul

A cure for the soul and heart, and entertainment.

If you are overwhelmed with stress and grief,

Save yourself through it, for it is like the ship of Nooh.

Denying the idea of resurrection after death, he said:

Get up before death seizes you

And take the rose-coloured (liquid) [i.e., wine] to expel darkness

O fool, you are not a piece of gold

To be buried and later brought forth

His words of promiscuity and immorality include the following:

As much as you can, follow the people of immorality

Destroy the structure of fasting and prayer

Receive the best words from al-Khayyaam

Drink, sing and pursue the good things

His mocking of the sharee’ah, his insolence towards his Lord and his attitude towards repentance may be seen in the following words:

Every day I have the intention to repent

If night falls and I feel that I want to repent from drinking wine

Then the season of flowers comes and then,

O Lord, I repent from my intention to repent

Some researchers, such as al-Zarkali, said that later he repented and performed Hajj. Others, such as ‘Abd al-Haqq Faadil, expressed doubts about the attribution of al-Rubaa’iyaat to him.

Whatever the case, the Rubaa’iyaat do not indicate that he repented, because they contain clear statements of kufr, wilful neglect of virtuous attributes and rejection of the idea of repenting and turning to Allaah. Indeed, they contain no indication that their author believed in Allaah and the Last Day.

The doubts about whether he wrote these words are outweighed by number of people who attributed them to him. Allaah knows best what is really the case.

For more details on his life, see al-A’laam by al-Zarkali, 5/38; Mu’jam al-Mu’aalifeen by ‘Umar Ridaa Kahhaalah, 2/549; ‘Umar al-Khayyaam bayna al-Kufr wa’l-Eemaan, by Ihsaan Haqqi; Thawrat al-Khayyaam by ‘Abd al-Haqq Faadil.

May Allaah bless our Prophet Muhammad.

Is the Rock in Bayt al-Maqdis (Jerusalem) suspended in the air?


They told us that the sacred rock from which the Prophet (peace and blessings of Allaah be upon him) started his ascent into heaven on the night of the Mi’raaj is suspended in the air by the power of Allaah. Please tell us if this is correct, may Allaah reward you.

Praise be to Allaah.

Everything is standing in its position by the permission of Allaah, whether it be the heavens and all that is in them or the earth and all that is on it – even the rock which you asked about. Allaah says (interpretation of the meanings):

“Verily, Allaah grasps the heavens and the earth lest they move away from their places, and if they were to move away from their places, there is not one that could grasp them after Him…” [Faatir 35:41]

“And among His Signs is that the heaven and the earth stand by His Command…” [al-Room 30:25]

The Rock in Bayt al-Maqdis is not suspended in space with air around it on all sides; it is attached to the side of the mountain of which it is a part and by which it is supported; both it and the mountain stand in their positions because of the well-known physical laws governing the universe; in this regard it is like everything else that exists. We do not deny that Allaah is Able to hold part of His creation in space; all of creation is standing in space by the power of Allaah, as stated above. Allaah raised the mountain above the people of Moosa when they refused to follow the laws that Moosa brought them. It was held up by the power of Allaah. Allaah says (interpretation of the meaning):

“And (remember) when We took your Covenant and We raised above you the Mount (saying): ‘Hold fast to that which We have given you, and remember that which is therein so that you may become al-muttaqoon (the pious).” [al-Baqarah 2:63]

“And (remember) when We raised the mountain over them as if it had been a canopy, and they thought that it was going to fall on them. (We said): ‘Hold firmly to what We have given you, and remember that which is therein, so that you may fear Allaah and obey Him.” [al-A’raaf 7:171]

But our point here is to explain what is in fact the case: the rock in Jerusalem is not suspended in space, completely separate from the mountain; it is attached to it and is supported by it. And Allaah knows best.

Taking the crescent as a symbol

What is the symbolism behind the Muslim star and crescent? I did a keyword search of your site and searched my library's reference books and cannot find anything more than a reference to the flag of the Ottoman Empire. Thank you for your interest.

Praise be to Allaah.

There is no basis in sharee’ah for taking the crescent or star as a symbol of the Muslims. This was not known at the time of the Prophet (peace and blessings of Allaah be upon him), or at the time of the Khulafa’ al-Raashidoon (the first four leaders of Islam after the death of the Prophet (peace and blessings of Allaah be upon him), or during the time of the Umawis (Umayyad dynasty). It emerged some time after that, and historians differ as to when this symbol was first adopted and who was the first to adopt it. Some say it was the Persians, others say it was the Greeks, and that this symbol was somehow passed to the Muslims. (See Al-Taraateeb al-Idaariyah by al-Kittaani, 1/320). It was said that the reason why the Muslims adopted the crescent was that when they conquered some western countries, the churches there had crosses on top of them, the Muslims replaced the crosses with these crescents, and the practice spread in this way. Whatever the case, symbols and banners must be in accordance with the teachings of Islam, and as there is no evidence that this symbol is prescribed by Islam, it is better not to use it. Neither the crescent nor the star are symbols of the Muslims, even though some Muslims may use them as symbols.

As regards what Muslims think about the moon and the stars, they believe that they are part of the creation of Allaah, and as such can neither benefit nor harm people, and they do not have any influence over events on earth. Allaah has created them for the benefit of mankind, an example of which is seen in the aayah or verse of the Qur’aan (interpretation of the meaning):

“They ask you (O Muhammad) about the new moons. Say: These are signs to mark fixed periods of time for mankind and for the pilgrimage…” [al-Baqarah 2:189]

[The commentator] Ibn Katheer said, explaining the phrase Say: these are signs to mark fixed periods of time: “From them (the new moons) they may know the times for repaying loans, the ‘iddah (waiting period) of their women [after being divorced or widowed] and the timing of their Hajj (pilgrimage)… Allaah has made them signs to mark the times when Muslims should start to fast and break their fast [the beginning and end of Ramadaan], to count the ‘iddah of their women and to know the times for repaying loans.” (Tafseer Ibn Katheer).

[Another commentator] Al-Qurtubi (may Allaah have mercy on him) said in his commentary on this aayah [verse]: “This explains the wisdom behind the waxing and waning of the moon, which is to avoid any confusion in appointed dates, dealings, oaths, Hajj, ‘iddah, fasting, breaking fasts, length of pregnancy, rentals and other matters that concern mankind. Similar to this aayah are others (interpretation of the meanings):

‘And We have appointed the night and the day as two aayaat (signs). Then, We have made dark the sign of the night while We have made the sign of day illuminating, that you may seek bounty from your Lord, and that you may know the number of the years and the reckoning…” [al-Isra’ 17:12]

‘It is He Who made the sun a shining thing and the moon as a light and measured out its (their) stages, that you might know the number of years and the reckoning…’ [Yoonus 10:5]

Counting the new moons is easier than counting days.” (See Tafseer al-Qurtubi).

With regard to the stars, the scholars of Islam say that Allaah created these stars for three reasons: to adorn the heavens, to drive away the devils (shayaateen) and as signs for navigation. (Saheeh al-Bukhaari, Kitaab Bad’ al-Khalq), as Allaah says (interpretation of the meaning):

“It is He Who has set the stars for you, so that you may guide your course with their help through the darkness of the land and the sea…” [al-An’aam 6:97]

“And indeed We have adorned the nearest heaven with lamps, and We have made such lamps (as) missiles to drive away the shayaateen (devils), and have prepared for them the torment of the blazing Fire.” [al-Mulk 67:5]

Intermarrying among Adam and Eve's children

I have no doubt whatsoever, but these kind a things come to mind. Whem Adam and Eve bore children, I assume their children got married among themselves. Isn’t marrying between brothers and sisters haram in the Quran?

Can you recommend a good book(s) on Islamic Law covering every and each aspect of Life? Thank you very much for the generous work for the sake of Allah.
Thanks.

All Praise be to Allaah.

As long as you are confident in your heart about your belief, no such insinuations will hurt you (inshaa' Allaah). If a doubt strikes a believer or something appears to him as a conflict between different textual sources of Shari'ah, he must believe that indeed for such doubts there are true answers and for such apparent conflicts there are solutions even if he doesn’t know it or is unable to find the right answer himself. However, a person should not collect all the doubts in his heart and worry about the complexities and leave aside the learning of useful knowledge. This is because it is incumbent upon a Muslim to learn and know things which have been clearly described (Muhkamaat) in Shari'ah so that he may be able to repel the doubts.

Regarding the question you have asked, it is a known fact that legislation differs from one Shari'ah to another, while the principles and beliefs remain the same in all of them. So, making of portraits was allowed in the Shari'ah of Sulayman (peace be upon him) but is prohibited in our Shari'ah. Similarly, making prostration of salutation was permitted in the Shari'ah of Yusuf (peace be upon him) but is illegal in ours. Also, war booty was prohibited for nations before us but it is completely legal for us. The Qiblah of people before us used to be towards Bayt Al-Maqdis, but for us it is towards Ka'bah. In a similar way, marriage between brothers and sisters was permitted in the Shari'ah of Adam (peace be upon him) as opposed to those that came afterwards. The following is a clarification on the issue by Haafidh Ibn Katheer, who said:

Allaah allowed Adam (peace be upon him) to marry his daughters to his sons for necessity. Every couple used to have a boy and a girl. Hence, he married the girl of one couple to the boy of another. This is said by Suddi regarding what has been narrated by Abu Maalik and Abu Salih, from Ibn ‘Abbas, by Murrah from Ibn Mas‘ood and by other companions of the Prophet (peace be upon him) that Adam did not have (in his grandchildren) a baby boy unless it was accompanied by a girl, so he married the male of a couple to the female of another, and the female of a couple to the male of another.

Ruling on a non-Muslim who dies defending his homeland

What is the viewpoint of Islam toward self-defense? Is it a right? Are there conditions on that right? Does the Qur'an speak to the issue of self-defense?

Praise be to Allaah.   
  Protecting oneself and one’s honour, mind, wealth and religion is a well-established basic principle in Islam. These are the five essentials which are well known to Muslims. A person has to defend himself; it is not permissible for him to consume that which will harm him, and it is not permissible for him to allow anyone to harm him. If a person or a vicious animal etc attacks him, he has to defend himself, or his family or his property, and if he is killed he is counted as a shaheed (martyr), and the killer will be in Hell.

If the harm that will result from this aggression is little and he gives up defending himself for the sake of Allaah, then undoubtedly Allaah will compensate him for that, so long as this does not cause any increase in the wrongdoing against him or anyone else. 

In the battle between the Jews and the Muslims at the end of time, the aggressors will be the Jews

It is narrated in the hadith that the Prophet (blessings and peace of Allah be upon him) said: “The Hour will not begin until you fight the Jews, until a Jewwill hide behind a rock or a tree, and the rock or tree will say: ‘O Muslim, O slave of Allah, here is a Jew behind me; come and kill him – except the gharqad (a kind of thorny tree).’ At the same time – as far as I know – the Muslims throughout history have treated the Jews well and coexisted with them, for Islam is a religion of love and peace. So why does the hadith tell us here that we have to kill them, and why did the Muslims not do that previously? 

Praise be to Allah

Firstly: 

Islam is the religion of mercy and peace, as the questioner describes it. Therefore Islam allowed the Jews and Christians to remain in Muslim lands, and did not expel them or kill them, as they did and still do when they gain control over Muslim lands. That is in accordance with the treaty between them and the Islamic state, with both parties having rights and duties. So long as they continue to adhere to those conditions, they have the right to enjoy that right of residence and security.

Hence Islam offers protection to ahl adh-dhimmah in Muslim lands, and defends their rights if they adhere to the conditions of residence, to the extent that the Prophet (blessings and peace of Allah be upon him) said: “Whoever kills a mu‘aahid (non-Muslim living under Muslim rule) will not smell the fragrance of Paradise, even though its fragrance may be detected from a distance of forty years.” Narrated by al-Bukhaari (3166).
And he (blessings and peace of Allah be upon him) said: “Whoever wrongs a mu‘aahid, detracts from his rights, burdens him with more work than he is able to do or takes something from him without his consent, I will plead for him (the mu‘aahid) – or I will be the opponent of (the Muslim who wronged him) – on the Day of Resurrection.”

Narrated by Abu Dawood (3052); classed as hasan by Ibn Hajar in Muwaafaqat al-Khabr (2/184); classed as saheeh by al-Albaani in Saheeh Abi Dawood.

But if they break the conditions – such as if they commit acts of betrayal or treachery, or they prepare to fight us or help our enemies, and the like – then they have broken the treaty, and in that case there is no treaty between us and them, and they do not deserve to reside in security as they did not uphold the treaty.
Secondly:
Yes, the Muslims used to coexist with the Jews and treat them well, so long as they adhere to the conditions of residence. But they may choose to be treacherous. It is sufficient for you to know that when the Messenger (blessings and peace of Allah be upon him) migrated to Madinah, there were three Jewish tribes in the city, namely Banu Qaynuqaa‘, Banu an-Nadeer and Banu Qurayzah. He made treaties with all of them and agreed to live in peace with all of them, but they all committed acts of treachery and betrayal.

Therefore the Messenger (blessings and peace of Allah be upon him) fought them, killing some of them and banishing others beyond Madinah, and he did not allow them to remain in the city.

Thirdly:

Al-Bukhaari (3593) and Muslim (2921) narrated from the hadith of Ibn ‘Umar (may Allah be pleased with him) that he said: I heard the Messenger of Allah (blessings and peace of Allah be upon him) say: “The Jews will fight you and you will prevail over them, then a rock will say: ‘O Muslim, here is a Jew behind me; kill him.’”

In Saheeh Muslim (2922), it is narrated from the hadith of Abu Hurayrah that the Messenger of Allah (blessings and peace of Allah be upon him) said: “The Hour will not begin until the Muslims fight the Jews and the Muslims will kill them, until a Jew hides behind a rock or a tree, and the rock or tree will say: O Muslim, O slave of Allaah, there is a Jew behind me, come and kill him. Except the gharqad (a thorny tree), for it is one of the trees of the Jews.”

In some reports there is an indication that the fighting against the Jews that is mentioned in this hadith will occur at the end of time, when the Dajjaal emerges and the Messiah ‘Eesaa ibn Maryam (peace be upon him) descends and fights him.

‘Abdullah ibn ‘Umar (may Allah be pleased with him) narrated that the Messenger of Allah (blessings and peace of Allah be upon him) said: “The Dajjaal will camp in this salty, barren ground in Marr Qanaat [a valley in Madinah], and most of those who go out to him will be women, to the extent that a man will go back to his relative, to his mother, his daughter, his sister and his paternal aunt, and will tie her up for fear that she may go out to him. Then Allah will give the Muslims power over him, and they will kill him and his party, until a Jew will hide beneath a tree or a rock, and the rock or tree will say to the Muslim: ‘Here is a Jew beneath me; kill him.’”

Narrated by Imam Ahmad in al-Musnad (9/255). But there is some weakness in its isnaad because of the ‘an‘anah of Muhammad ibn Is-haq [i.e., narration by saying ‘an (from) rather than saying So and so said/told us].  There are other corroborating reports; see the commentary on al-Musnad in the Mu’sasat ar-Risaalah edition.

These corroborating reports were quoted by al-Haafiz Ibn Hajar (may Allah have mercy on him) in Fath al-Baari (6/610); he classed as hasan the hadith of Samurah ibn Jundub (may Allah be pleased with him), then he said: What is meant by fighting the Jews is that this will happen when the Dajjaal emerges and ‘Eesa descends. End quote.

Ibn al-Mulqin said: What is meant by the words “You will fight the Jews” is that this will happen when ‘Eesa descends; the Muslims will be with him and the Jews will be with the Dajjaal.

End quote from at-Tawdeeh li Sharh al-Jaami‘ as-Saheeh (17/663).

This is what was stated definitively by a number of commentators on the hadith. In fact Imam at-Tirmidhi (2236) narrated the hadith of ‘Abdullah ibn ‘Umar, which is quoted above, in the chapter entitled The Signs of the Dajjaal (‘Alaamaat ad-Dajjaal).

Shaykh al-Islam Ibn Taymiyah (may Allah have mercy on him) said:

The Jews are in fact awaiting the false messiah (al-maseeh ad-dajjaal), for he is the one whom the Jews will follow. Seventy thousand of the Jews of Isfahan wearing tayaalisah (a kind of head covering) will emerge with him. The Muslims will fight them with him, to the extent that trees and rocks will say: “O Muslim, here is a Jew behind me; come and kill him.”

End quote from al-Jawaab as-Saheeh li man baddala Deen al-Maseeh (2/30).

Shaykh Ibn Baaz (may Allah have mercy on him) said:

‘Eesaa (blessings and peace of Allah be upon him) will fight him, supported by the Muslims, and he will kill him at the gate of al-Ludd (Lod), which is in Palestine, near al-Quds (Jerusalem). He will kill him with his spear, as it says in the saheeh hadith, and the Muslims who are with him will kill a great number of the Jews. It says in the hadith from the Prophet (blessings and peace of Allah be upon him) that the Muslims will fight the Jews, and will kill them and gain power over them, and trees and rocks will call out: O Muslim, O slave of Allah, here is a Jew; come and kill him. And ‘Eesa will kill the Dajjaal and put an end to him.

End quote from Fataawa Noor ‘ala ad-Darb by Ibn Baaz, ed by ash-Shuway‘ir (4/290)

When the Dajjaal emerges, thousands of the Jews will follow him and rally around him, aiming to fight the Muslims. Then the Messiah ‘Eesa ibn Maryam (peace be upon him) will descend and the Muslims will rally around him to fight the Dajjaal and his followers. ‘Eesa ibn Maryam will call the Jews to Islam, and he will not accept anything from them at that time except Islam. Some of them will become Muslim and some of them will remain followers of Judaism, then will come the battle that the Prophet (blessings and peace of Allah be upon him) mentioned.

Thus it is clear that the battle, for the Muslims, will be a just and legitimate battle that Allah, may He be exalted, undoubtedly approves of. This is indicated by the following:

·        It will be against the Dajjaal and his supporters who gathered to fight the Muslims. They (the disbelievers, the Jews and the Christians) want to extinguish Allah’s Light (with which Muhammad (blessings and peace of Allah be upon him) has been sent - Islamic Monotheism) with their mouths, but Allah will not allow except that His Light should be perfected even though the Kafiroon (disbelievers) hate (it)” [at-Tawbah 9:32].

·        It will be a battle fought by the Muslims under the leadership of ‘Eesa ibn Maryam (peace be upon him), one of the noble Messengers.

·        Allah, may He be exalted, will honour the Muslims in this battle with this miracle, which is that rocks and trees will speak and call the Muslims to come and kill the Jews who will be hiding behind them.
All of this indicates that it will be a just battle that Allah approves of, as was the case with all the Islamic battles in which the aim was to make the word of Allah supreme on earth. “Whoever fights so that the word of Allah will be supreme is fighting in the way of Allah.” Narrated by Muslim (1915).
And Allah knows best.

How can it be permissible for Muslims to use missiles and other weapons in war when it is prohibited to punish with fire?

Today in modern warfare explosions, tanks, missiles etc are used. The mujahideen and muslim countries use these weapons against the enemies of allah. But the messenger of allah saw said no one punishes with fire except the Lord of the fire ' Is using these weapons haram.

Praise be to Allah

Firstly:

If the Muslims gain power over their enemy and defeat them, it is not permissible to burn them with fire, and there is no difference of scholarly opinion concerning this matter, because of the proven report from Abu Hurayrah (may Allah be pleased with him), according to which he said: The Messenger of Allah (blessings and peace of Allah be upon him) sent us on a campaign and said: “If you find So and so, and So and so, then burn them with fire.” Then the Messenger of Allah (blessings and peace of Allah be upon him) said, when we wanted to set out: “I had instructed you to burn So and so, and So and so. But no one punishes with fire except Allah, so if you find them, then execute them.” Narrated by al-Bukhaari (3016).

This applies so long as burning does not come under the heading of requiting and punishing like with like.
But in the event of combat when the enemy is holed up in fortifications and the like, then the Muslims may raid them and attack them with fire, and burn their fortifications around them, and do anything that may undermine their enemy and break their spirit. This was done by the Sahaabah (may Allah be pleased with them), the Taabi‘een and those who came after them.

That is not included in the prohibition on punishing with fire, because the hadith was speaking about people who were not holed up in fortifications. But if they are holed up in fortifications, then there is nothing wrong with sending fire against them, so as to bring about their defeat and surrender, whether by means of fire or any other means.

Ibn Hajar said, commenting on a chapter title included by al-Bukhaari, Do not punish with the punishment of Allah:

This applies when burning is not needed as a means to overcome the disbelievers in a war situation.
End quote from Fath al-Baari (6/149).

It was narrated that Salamah ibn al-Akwa‘ said: We travelled by sea at the time of Mu‘aawiyah (may Allah be pleased with him) and we met the enemy in battle and launched burning material at them.
Thus we learn that there is nothing wrong with any of that so long as they are holed up in fortifications. It is only forbidden to burn with fire after taking prisoners, according to what was narrated from Ibn ‘Abbaas (may Allah be pleased with him), that the Prophet (blessings and peace of Allah be upon him) sent out a group on a campaign and said to them: “If you capture So and so, then burn him with fire.” (That person) had spooked the camel of Zaynab (may Allah be pleased with her) the daughter of the Messenger of Allah (blessings and peace of Allah be upon him), by poking it, which caused her to fall and suffer a miscarriage. Then he said: “If you capture him, then execute him and do not burn him, for only Allah, may He be exalted, punishes with fire.

When the Messenger of Allah (blessings and peace of Allah be upon him) sent Mu‘aadh ibn Jabal (may Allah be pleased with him) to Yemen, he said to him: “Look for So and so, and if Allah enables you to capture him, burn him with fire.” But when he turned to leave, he called him back and said: “I said that to you when I was angry. But no one has the right to punish anyone with the punishment of Allah, may He be exalted (i.e., fire). Rather if Allah enables you to capture him, then execute him.” Thus we know that it was forbidden to burn the mushrikeen after capturing them. But if the enemy is holed up in fortifications, there is nothing wrong with that.  End quote.

Ibn Qudaamah said in al-Mughni:

As for the enemy, if one is able to gain power over him, it is not permissible to burn him with fire, and there is no scholarly difference concerning that as far as we know.

As for attacking them with fire before capturing them, if it is possible to capture them without resorting to that, it is not permissible to attack them with fire, because they come under the same heading as those who are defeated and captured. But if it is not possible to defeat them by any other means, then it is permissible, according to most of the scholars…

‘Abdullah ibn Qays said: The Muslims are still following this view. End quote.
Ash-Shaafa‘i (may Allah have mercy on him) said in al-Umm (4/258):

If the enemy is holed up in a mountain, fortress, ditch, or the like, then there is nothing wrong with attacking them with mangonels, catapults and fire...

If someone were to ask: How can it be permissible to launch an attack with mangonels and fire against an group of mushrikeen among whom are women and children, whom we are forbidden to kill?
The answer is: We allow that in the circumstances we described. The Prophet (blessings and peace of Allah be upon him) launched a raid against Banu al-‘Mustaliq when they were off their guard, and ordered the fighters to attack them at night with fire, and it was known that among them were children and women. That was because that was the land of shirk and was not under protection; rather what is prohibited is to deliberately target and kill women and children. End quote.

It says in al-Mawsoo‘ah al-Fiqhiyyah al-Kuwaitiyyah (12/244):

It is prescribed to attack the enemy with fire, even if that will result in making them suffer its burning. This applies when it is not possible to defeat them without burning, because the Sahaabah and Taabi‘een did that during their campaigns. As for punishing them with fire after having defeated them, that is not permissible, because of the report narrated by Hamzah al-Aslami (may Allah be pleased with him), according to which the Messenger of Allah (blessings and peace of Allah be upon him) appointed him in charge of a campaign and said to him: “If you find So and so, then burn him with fire.” I [Hamzah al-Aslami] turned to leave, then he called me, so I went back to him and he said: “If you find So and so, then execute him, and do not burn him, for no one punishes with fire except the Lord of fire.” End quote.

This has to do the basic principle concerning this matter, when attacking with fire is not the main method of war. But in the modern era, the Muslims are required to fight their enemies in the same manner as they fight them, or even with something better than that if they are able to do so. And they must develop these weapons and surpass their enemies in doing so, for this comes under the heading of necessary strength that the Muslims are commanded to prepare in order to confront their enemies. Allah, may He be exalted, says (interpretation of the meaning):

“And make ready against them all you can of power, including steeds of war (tanks, planes, missiles, artillery) to threaten the enemy of Allâh and your enemy”
[al-Anfaal 8:60].

Shaykh as-Sa‘di said:

This includes all kinds of skills that are required to produce various kinds of weapons and equipment such as artillery, automatic weapons, rifles, warplanes, land vehicles, ships, forts and strongholds, trenches and defensive equipment, as well as wisdom and diplomacy, by means of which the Muslims may become advanced in these fields and ward off the evil of their enemies.
End quote from his Tafseer (p. 324).

Secondly:

Attacking the enemy with modern weapons is of various types:
Some of these weapons cause burning. They come under the ruling mentioned above, that is discussed in detail. They are more akin to mangonels and other weapons that involve burning, that are discussed above, so it is permissible to use them in the case of fighting the enemy or when the enemy is holed up in fortifications and the like.

as-San‘aani said: It is permissible to kill combatant disbelievers if they are holed up in fortifications, using mangonels and, by analogy, by using other weapons such as artillery and the like.
End quote from Subul as-Salaam (2/478).

Some of the weapons do not cause burning, such as rifles and revolvers. Even though the bullets in them are launched by the power of fire, killing results from the penetration of bullets which pass through the body. So there is no problem with them using such weapons in their fight, and the Muslims have been using such weapons for a long time without any objections.

And Allah knows best.