A bus collided with a sand-laden truck near Baburi village in the district on Thursday, leaving nine people dead and 27 injured, police said.
The bus carrying 70 passengers was going to Bahraich from Delhi when the accident took place, Superintendent of Police, Yamuna Prasad, said, adding the accident took place when the bus driver tried to avoid hitting a stray cow.
The injured have been rushed to a trauma centre in Lucknow.
Expressing anguish over the incident, PM Modi announced an ex-gratia of Rs 2 lakh each to the next of kin of those killed in the accident.
"Anguished by the road accident in Barabanki, Uttar Pradesh. Condolences to the families of those who lost their lives. Prayers with the injured. Rs. 2 lakh each from PMNRF would be given to the next of kin of the deceased and Rs. 50,000 to the injured," PM Modi's office said in a tweet.
While condoling the loss of lives in the accident, Chief Minister Yogi Adityanath announced an ex-gratia of Rs 2 lakh each for the family of victims and Rs 50,000 for the injured.
Adityanath has asked the local administration to provide the best possible medical care to the injured.