"I pay tribute to our brave soldiers," it said, quoting him.
The ministry of external affairs said the injured soldiers had been moved to Uganda for treatment.
"Injured Indian peacekeepers moved to Entebbe in Uganda. India's Mission in Kampala providing all assistance for medical treatment," MEA spokesperson Syed Akbaruddin tweeted.
Five Indian UN peacekeepers, including a lieutenant colonel, were killed while four were injured when they came under attack in Jonglei in South Sudan.
According to the defence ministry, the bodies of the dead soldiers were being brought to India for their final rites with full military honours.
The Indian Army has contributed to UN peacekeeping operations around the world for over six decades and has currently over 7,000 troops on four missions.