וַיַּשְׁכִּ֣מוּ בַבֹּ֗קֶר וַיִּֽשְׁתַּחֲווּ֙ לִפְנֵ֣י יְהוָ֔ה וַיָּשֻׁ֛בוּ וַיָּבֹ֥אוּ אֶל־בֵּיתָ֖ם הָרָמָ֑תָה וַיֵּ֤דַע אֶלְקָנָה֙ אֶת־חַנָּ֣ה אִשְׁתּ֔וֹ וַיִּֽזְכְּרֶ֖הָ יְהוָֽה׃
次日清早,他們起來,在永恆者面前敬拜,然後回到拉瑪自己的家。以利加拿與妻子哈拿同房,永恆者記念了她。
Rashi
And came to their home… and Elkonoh knew. From here [we learn] that a traveler is forbidden to have marital relations.30Maseches Kesubos 65a.
Metzudat David
And the Lord remembered her: Her recollection came up before Him for the good.