by accident
Vous avez vraiment tué cet officier par accident ?
Did you really kill that officer by accident?
— Assassination (2015)
Nous donnons la vie par volonté ou par accident.
We give life by choice or by accident.
— Gangs of Wasseypur : 1ère partie (2012)
I got it right by accident.
On ne baise pas une fille par accident !
You don't sleep with a girl by accident!
— Y tu mamá también (2001)
It happened by accident.