に泊まりました

stayed overnight at …

→ に
phrase Common #2,777
stayed overnight at … The place is named immediately before に.
JA: 私は旅館に泊まりました。
EN: I stayed overnight at a ryokan.

ホテルに泊まりました。

I stayed at a hotel.

私達はおじの家に泊まりました。

We stayed at our uncle's house.

私は先週おじの家に泊まりました。

I stayed at my uncle’s house last week.