stop over
dictionary.cambridge.org
to stay at a place for one night or a few nights on the way to somewhere else or before returning home:
They're stopping over in Malaysia for a couple of nights on the way to Australia.
UK Come round for dinner one night and you can stop over. to stay at a place for a short period of time on the way