Prime Minister Ibrahim al-Jaafari declared three days of mourning .