NEW DELHI (Agencies) - Against the backdrop of Mumbai attacks, Afghanistan on Monday joined India in demanding that no country should allow terrorism to emanate from its territories, in an apparent reference to Pakistan. Afghan President Hamid Karzai met Indian Prime Minister Dr Manmohan Singh here on Monday to offer his condolences for the recent Mumbai terror attacks. Bilateral issues, including cooperation in the fight against terrorism and a review of the situation in the region were also discussed during the meeting. Karzai also met Indian External Affairs Minister Pranab Mukherjee. Manmohan and Karzai, who discussed the Mumbai attacks, said the incident shows that terrorism poses a threat to the entire humanity and all countries should fulfill their bilateral and multilateral obligations to prevent the scourge. "The leaders called for full compliance with bilateral, multilateral and international obligations of states to prevent terrorism in any manner originating from territories under their control since terrorism emanates from the sanctuaries and training camps and the sustenance and support received by the terrorist groups," The Times of India quoted a joint statement issued after the talks said. Though the statement did not name Pakistan, the reference was obviously to it. During the talks, according to the paper, the Indian side shared with Karzai details of probe into Mumbai attacks which clearly point to Pakistani linkages, adding that Karzai, who undertook the two-day visit here to show solidarity with India in the wake of Mumbai attacks, discussed with Manmohan ways to forge greater cooperation to defeat terrorism. India will gift Afghanistan 250,000 metric tonnes wheat to overcome its food crisis. The two leaders reaffirmed the special relationship between India and Afghanistan, to build a strong, united, and prosperous Afghanistan and to work towards peace, stability and development of the entire region. Singh conveyed India's commitment to build roads and other infrastructure in Afghanistan. Indian External Affairs Minister Pranab Mukherjee said Karzai conveyed a message of solidarity and condolences on behalf of the people of Afghanistan to the Indian nation in the aftermath of the Mumbai terror attacks. "He has come here to express his solidarity and solidarity of Afghanistan people with us on this hour. We had very good bilateral talks and we also shared our perceptions on many other areas." Karzai arrived here on a two-day visit Sunday evening against the backdrop of chill in Indo-Pak relations. He was accompanied by Foreign Minister Rangeen Dadfar Spanta and National Security Adviser Zalmay Rasoul. While inaugurating the Petrotech Conference in New Delhi, Pranab described the Mumbai terror attacks as a "direct strike" at India's economic development and warned the hydrocarbon sector to protect assets from the risks from "state or the so-called non-state actors". "The recent terrorist attack in Mumbai was a direct strike at India's economic development. This unpardonable criminal attack only underscores the risk all countries face from economic sabotage, irrespective of whether these acts are authored by states or merely carried out by so-called non-state actors," he said.