The incident took place on August 18 when the Prime Minister was returning after an Iftaar party at BJP MP Shahnawaj Hussain's residence.
Official sources said the Prime Minister had gone straight from Parliament to the MP's residence to avoid inconvenience to general public but while returning home, he found the gates of the Parliament House complex were closed.
When officials checked with Parliament Security they were curtly told that since no information about the PM's movement was given to them in advance, the convoy could not be allowed to pass through, the sources said.
They said it is a standard practice to close all the gates of Parliament at eight in evening.
The PM's security immediately took a different route to reach the 7, Race Course residence of the Prime Minister.
The incident was reported to Home Ministry by the Delhi Police which did not like the way PM's motorcade was turned back from the gates of Parliament creating an alleged security risk to the VVIP, sources said.