"We have noted with deep concern the decision of the Indian Supreme Court regarding the historic Babri Masjid". The Jaish-e-Mohammad (JeM) group in Pakistan said it had launched the attack.
An Indian foreign ministry spokesman did not respond to a request for comment.
He said this has been conveyed formally to the Indian High Commission and the Indian government.
Earlier in a statement, Khan said the inauguration of the corridor is also a testimony of the Pakistani government's commitment towards peace of the region.
The corridor connects the Dera Baba Nanak shrine, in India's Punjab with Darbar Sahib at Kartarpur, where Guru Nanak had spent the last 18 years of his life, just 4 kilometres from the International Border, located at Narowal district of Pakistan's Punjab province.
Kandhari also said that Gurdwara Guru Nanak Darbar, Dubai, appreciates the gesture of Pakistan Prime Minister Imran Khan for opening the border for the Sikh community on this momentous occasion. He also thanked Pakistani counterpart Imran Khan for understanding India's sentiment.
There are dozens of other low-hanging fruits like the Kartarpur Corridor that can go a long way in making the people to people contact between India and Pakistan significant and key to the bilateral ties. The heightening of tensions began with a terrorist suicide bomb attack in Kashmir that killed 40 Indian paramilitary troops in February.
Indians have struggled to make the pilgrimage due to longstanding hostility between the neighbors, which have fought three wars since independence. India removed Article 370 of its constitution that protected the status of Jammu and Kashmir. India also divided the state into two union territories to be directly administered by New Delhi.
Modi described Kartarpur a holy place filled with the divine aura Sikh Guru Nanak Dev and said the corridor would help thousands of devotees and pilgrims. We believe that interfaith harmony and peaceful coexistence will provide us an opportunity to work for larger interests of people of the sub-continent.
Citing the examples of Prophet Muhammad, Nelson Mandela and Sufi saints, Mr. Khan said a true leader always brings people together.
"All our relations are at a halt". Prime minister Khan said the sub-continent will only progress when the issue of Kashmir is resolved.