How can we say this in an idiomatic way?

When I am going past someone’s house and I stopped at their house and decided to go to their house for a while.

  • Drop by, drop in, pop in Jun 16 '20 at 9:44

I would say:

I was in the neighbourhood, and I thought I’d stop by.

Stop by:

to visit someone for a short time, usually on the way to another place

Source: Cambridge Dictionary

You must log in to answer this question.