Pakistani Prime Minister Yusuf Raza Gilani condemned the blast and ordered an inquiry into the incident .