The Permanent Secretary, Ministry of Foreign Affairs, Olushola Enikanolaiye, sought action by the Indian government at a meeting with Indian High Commissioner to Nigeria Nagabushana Reddy in Abuja on Wednesday, state-run News Agency of Nigeria reported.
The Nigerian students were allegedly attacked by people during a candle-light march for a 17-year-old Indian boy, who died of suspected drug overdose last week in Greater Noida.
The boy's parents alleged that the foreigners had kidnapped him and given him drugs which led to his death.
Enikanolaiye said that the call for the prosecution of culprits was necessary to serve as a deterrent to others, the report said.
"We want to see diligent prosecution so that it would serve as a deterrent to those who think they can take laws into their hands and harass students who are going about their studies. That is why we felt we should register our concern to you on this occasion, and to please ask your government to take effective measures that this does not occur again," he said.
He said that the Indian high commissioner was called in to register the Nigerian government's concern over the incident.
He expressed concern that the incident was not the first of its kind as Nigerians had been attacked in the past by Indians.
"It is therefore, a concern to us that Nigerian students in that place were harassed, beaten up and many of them were seriously injured. We think this should not have happened considering the excellent relationship between two of us -- the two countries have things in common and have been great friends," it quoted Enikanolaye as saying.
External Affairs Minister Sushma Swaraj has said the government was taking immediate action and she had spoken to Uttar Pradesh Chief Minister Yogi Adityanath who has assured her of a fair and impartial investigation into the "unfortunate" incident.
On Thursday, Swaraj assured the Rajya Sabha that there will be an impartial probe into the alleged brutal attack.
Replying to concerns raised by some Opposition members during the Zero Hour, Swaraj said that the incident was "unfortunate" and the Centre has sought a report from the state government.
"Both incidents are unfortunate. Firstly, 19 year-old boy died and thereafter there was an attack on a Nigerian student. On behalf of Uttar Pradesh CM and myself, I want to assure that there will impartial probe," she said.
The minister said that the state administration was taking steps to maintain law and order and the Nigerian student is being treated in a hospital.
"As long as investigation is not complete, it is not proper to say anything more," she added.
Nigerian students attacked in Greater Noida: 5 arrested, CM assures impartial probe
Indian marine engineer held captive in Nigeria returns, thanks Centre
Nigerian court jails three Indians for contempt