Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:21:68

They said, "Burn him and support your gods - if you are to act."  

They said, ‘Burn him, that is, ˹burn˺ Abraham, and stand by your gods, by having him burnt, if you are to do anything’, in the way of standing by them. Thus they gathered lots of firewood and lit a fire throughout it. They then tied up Abraham, placed him in a ballista and had him hurled into the fire. God, exalted be He, says:
القرآن:٢١:٦٨

قَالُوا حَرِّقُوهُ وَانْصُرُوا آلِهَتَكُمْ إِنْ كُنْتُمْ فَاعِلِينَ  

{قالوا حرِّقوه} أي إبراهيم {وانصروا آلهتكم} أي بتحريقه {إن كنتم فاعلين} نصرتها فجمعوا له الحطب الكثير وأضرموا النار في جميعه وأوثقوا إبراهيم وجعلوه في منجنيق ورموه في النار قال تعالى: