Prime Minister Narendra Modi visited AIIMS on Wednesday evening to inquire about the health condition of former prime minister Atal Bihari Vajpayee.