Officials say a suicide bomber blew himself up at the gates of a Shiite mosque in Islamabad, killing dozens of people during Friday prayers.