No group has immediately claimed responsibility for the attack, which killed influential cleric Maulana Hamid ul-Haq.