Karzai called on the prime minister during a transit halt in the capital. Modi said that India and Afghanistan share age old ties.
"India deeply values the friendship of the Afghan people. India stands with the people of Afghanistan, as they build a united, stable, democratic and prosperous nation," Modi said.
He reassured that India will continue to provide assistance to all the people of Afghanistan based on their need and priorities.
Modi also lauded the former president's leadership for the extraordinary progress made by Afghanistan in this century and his contribution to strengthening relations between India and Afghanistan.