בְּשׂ֘וּמ֤וֹ לַיָּ֨ם ׀ חֻקּ֗וֹ וּ֭מַיִם לֹ֣א יַֽעַבְרוּ־פִ֑יו בְּ֝חוּק֗וֹ מ֣וֹסְדֵי אָֽרֶץ׃
他為海定下界限,使水不得違越他的命令,他立定大地根基的時候,
Rashi
when He gave the sea its boundary and decreed upon the Reed Sea when he created it, on the condition that it split before Moses.
Rashi
when He established the foundations of the earth Heb. בחקו from an expression of engraving (חקוי), as in (Isa. 49:16): “Behold on [My] hands I have engraved you (חקתיך),” and so (Ezek. 43:14): “And from the bottom (מחיק) upon the ground.”