Union Home Minister Amit Shah Friday directed the Delhi Police to take stringent action against the networks that help illegal Bangladeshis and Rohingyas entering India, saying it is an issue of national security and should be dealt with strictly.