"You must ambush, mine, raid and [carry out] martyrdom campaigns so that you can wipe them out," he said.
 
Ethiopian forces helped Somalia's under-powered forces loyal to the interim government to rout the courts in a two-week war.
 
The tape was posted on a website used by armed Islamist groups. Its authenticity could not be verified, but it is believed that the voice was that of al-Zawahri.
 
The Union of Islamic Courts, which took control of the capital in June and much of the south of the country, abandoned Mogadishu last week in the face of advancing Ethiopian and government forces.
 
Kenya Talks
 

Your Views

"The UIC may have brought peace for a while but what would have been the cost?"

Abluth, Portland, US

Send us your views

The International Contact Group on Somalia, which includes the US and European nations, held closed-door talks in Nairobi with Abdullahi Yusuf, president of Somalia, whose government has called for immediate military help.

 

Raphael Tuju, the Kenyan foreign minister, said: "There has been a lot of emphasis on troops, troops, troops... But for the normal Somali people, the most important thing is how to survive from one day to the next.

 

"We are going to do our best to help them. The most important thing is humanitarian support for the Somali people."

 

It was the second meeting of the group this week. In Brussels on Wednesday, European members of the group took no decisions but pledged to help restore stability and maybe increase aid to Somalia.

 
Bloodshed
 
The courts said its retreat was tactical and designed to avoid major bloodshed.
 
Since its fighters left, one Ethiopian soldier has been killed in an ambush in the south and a hand grenade was thrown at Ethiopian troops in the capital on Thursday.
 
The US and Ethiopia have portrayed the Islamic courts as linked to, and even run by, al-Qaeda, putting Somalia firmly on the map of the US-led "war on terror".
 
Kenya closes borders
 
Kenya has already closed its border with Somalia saying it wants to stop fighters slipping across the frontier. The UN says thousands of refugees, also near the border, have been prevented from getting into Kenya to avoid the fighting.
 
Residents of Mogadishu have been on edge since the government took over with the crucial military aid of neighbouring Ethiopia. Some of the feared gunmen of the past have returned to the city.
 
UN intervention
 
Al-Zawahri criticised the UN Security Council's failure to issue a resolution demanding that Ethiopian troops withdraw from Somalia and said plans to send peacekeepers to the Horn of Africa provided political cover for Ethiopia's invasion.
 
Jendayi Frazer, assistant US secretary of state for Africa, said on Thursday that Yoweri Museveni, the Ugandan president, had promised George Bush in a recent telephone call that he could supply between 1,000 and 2,000 troops to protect Somalia's transitional government and train its troops.
 
The interim government wants a foreign peacekeeping force, approved by the UN before the war, to be deployed as soon as possible.
 
Ban Ki-moon, the newly appointed UN secretary general, called on Thursday for its quick deployment and welcomed Ethiopia's plan to pull its troops out of Somalia in a few weeks.
 
Al-Zawahri urged Islamist groups in Yemen, Gulf Arab states, Egypt, Sudan and north Africa to help those fighting in Somalia.
 
"I call on my Muslim brothers everywhere to fulfil the call for jihad in Somalia," he said.