Ibn Qayyim (1292-1350CE / 691 AH- 751 AH) said in I’laam Al-Muwaqqi’een:

وأما استحلال القتل باسم الإرهاب الذي تسميه وُلاة الجور سياسة
وهيبة وناموساً وحرمة للملك فهو أظهر من أن يذكر

“As far as making murder permissible in the name of terrorism is concerned, which the oppressive rulers and tyrants call state-policy, or establishing writ of the state, or upholding its awe and dignity, then this is quite obvious.”