Ghani had sent a delegation to Islamabad "to hand over evidence related to recent attacks in Kabul" to be shared with the Pakistan Army.
Afghan President Ashraf Ghani on Wednesday refused to take a call from Pakistan Prime Minister Shahid Khaqan Abbasi but discussed the "need for an end to terrorist sanctuaries" with Indian Prime Minister Narendra Modi.
"Prime Minsiter Modi called me to offer condolences on the recent senseless killings of civilians by the enemies of humanity," Ghani tweeted. But the media reports said Ghani refused to speak to Abbasi when the latter telephoned to offer condolences.
The Afghan President said he discussed the need for an end to terrorist sanctuaries in "our neighbourhood", an apparent reference to Pakistan, and said India had always been a "good friend of Afghans, sharing our pain and grief".
TOLO News said Abbasi telephoned Ghani "in connection with the spate of recent attacks in Afghanistan".
Ghani had sent a delegation to Islamabad "to hand over evidence related to recent attacks in Kabul" to be shared with the Pakistan Army.
Kabul accuses Islamabad of backing terrorist groups which have killed hundreds in Afghanistan.