Islamabad: Taliban have warned that they would target the government officials and security forces if slain al-Qaeda chief Osama bin Laden's three widows, who have been charged with illegally entering and staying in Pakistan, were not freed from custody.

Tehrik-e-Taliban Pakistan spokesman Ehsanullah Ehsan declared bin Laden a "hero of Islam" and warned officials against putting his family members on trial.

"If the family of Osama bin Laden is not released, we will attack the judges, lawyers and security officials involved in their trial," Ehsan told the media in Pakistan's northwest on Friday.

He warned the militants would carry out suicide bombings against security forces and the government across the country.    

Interior Minister Rehman Malik had on Thursday said authorities had charged bin Laden's widows with illegally entering and staying in Pakistan.

He said the three women and their children were being held in a house in Islamabad.

Bin Laden was killed by US special forces during a raid in the garrison town of Abbottabad in May last year.

The Pakistani Taliban had carried out several high-profile attacks after his killing, including a suicide assault on a naval airbase base in Karachi and an attack on paramilitary recruits in the northwest.