in passing
Мимоездом я заглянул в старую церковь.
In passing, I took a look inside the old church.
Мы были в этом городе только мимоездом.
We were in that city only in passing.
Он заехал к нам мимоездом, всего на полчаса.
He stopped by our place in passing, for just half an hour.
WiktionaryPONSbab.laReverso