Deputy High Commissioner Gopal Baglay conveyed India's position during a meeting with the director general of South Asia in Pakistan's foreign ministry, said a statement issued by the foreign office spokesman.
According to the statement, Baglay said that due to the "prevailing security environment in India following recent bilateral incidents, the government of India would not be in a position to ensure the safety and security" of Pakistani pilgrims scheduled to visit Ajmer to participate in the annual urs of Khwaja Moinuddin Chishti during May 13-23.
"The government of India has recommended to the government of Pakistan that the visit of the Zaireen (pilgrims) to Ajmer Sharif this year may, therefore, be called off," the statement said.
Diplomatic sources told PTI that India had made the recommendation because of tensions created by the deaths of Indian prisoner Sarabjit Singh and Pakistani prisoner Sanaullah Ranjay.
Sarabjit died after being comatose for almost a week following a brutal assault by prisoners at Kot Lakhpat Jail in Lahore. A day after his death, Ranjay was beaten up by a prisoner at Kot Bhalwal Jail in Jammu. He died later in a hospital in Chandigarh.
The foreign office said it had conveyed "necessary advice" to the religious affairs ministry, which organises the visit to Ajmer.
Every year, hundreds of Pakistanis visit the shrine in Ajmer, which is revered by people across the subcontinent.
Sarabjit death: Protests over Pak delegation's Ajmer visit
PHOTOS: Pakistan PM Ashraf @ Ajmer Dargah
Pak PM Pervez Ashraf arrives in Jaipur amid protests
PICS: Zardari offers prayers at Ajmer; donates $1 million
Pak public will pay Zardari's $1m donation to Ajmer