Pakistan Rawalpindi mosque suicide attack kills many
Local TV showed footage near the scene of the attack, sealed off by police
Militants are said to have killed at least 35 people, including 17 children, at a mosque near the Pakistani army's headquarters in Rawalpindi.
At least four attackers opened fire on worshippers during Friday prayers attended by many military staff in the garrison city.
Security forces fought back in an hour-long gun battle before three attackers blew themselves up, reports say.
The Pakistan Taliban later said they had carried out the strike.
Orla Guerin, BBC News, Rawalpindi
This attack happened inside a so-called red zone, supposed to be a very secure location. It is close to military facilities and in an area where many senior army officers live. They were known to attend this mosque for prayers.
Once again, the militants are taking this fight to the army and showing they can strike inside a secure protected location.
Certainly, this is part of a pattern of targeting military and security sites. It is something not only restricted to Rawalpindi, but happening in other Pakistani cities as well.
Ten adult civilians were also among the dead, as well as military staff, the army said.
The Pakistani security forces have been attacked recently, and this attack has shown that the militants can still penetrate supposedly secure areas, says the BBC's Orla Guerin in Islamabad.
One witness told Pakistan's Dawn TV: "They attacked the mosque from the side ... the windows. They took the people, got hold of their hair, shot them."
The attackers reportedly started hurling grenades around and firing indiscriminately, before two were killed in the battle with security forces and two blew themselves up.
Military spokesman Maj Gen Athar Abbas said the latest attack had been co-ordinated. It ended once the military had made sure all the gunmen were dead, AFP news agency quoted him as saying.
Interior Minister Rehman Malik said explosions from at least one suicide bomber caused the roof of the building to collapse.
"They are taking revenge for the Pakistan army's successful operations in the Swat and Waziristan region," Mr Malik told the ARY television channel.
RECENT MILITANT ATTACKS
24 Sept - Seven pro-government tribal elders killed by militants in town of Janikhel, north-western Pakistan
26 Sept - At least 16 people killed in two suicide car bombs, in Peshawar and Bannu
5 Oct - Suicide bomber attacks UN offices in Islamabad killing five
9 Oct - At least 50 killed in suspected suicide bombing in Peshawar
10 Oct - Six soldiers die in attack by militants on an army base in Rawalpindi
4 Dec - At least 35 worshippers die in a Rawalpindi mosque when attackers strike
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.