By the way
Today it means incidentally or in passing and the latter phrase is the clue to its origin from the late Middle Ages when it meant literally to pass someone along the way or the road.