By chance

случайно Например: I met him quite by chance in the train. — Я совершенно случайно встретил его в поезде.

Англо-русский фразеологический словарь

By chance

phrasal in the haphazard course of events Example: they met by chance

Merriam-Webster's Collegiate Dictionary