Ulema vow to wage Jihad against terrorism