Бамидбар 17:26 Комментарий: Or HaChaim

וַיַּ֖עַשׂ מֹשֶׁ֑ה כַּאֲשֶׁ֨ר צִוָּ֧ה יְהוָ֛ה אֹת֖וֹ כֵּ֥ן עָשָֽׂה׃ (ס)

Так сделал Моисей; как повелел ему Господь, так он и сделал.

Or HaChaim

ויעש משה כאשר צוה השם כן עשה, Moses did as G'd commanded, so he did. The reason that the Torah repeated the same statement twice may be as follows: The first statement indicates that Moses carried out G'd's instructions immediately; the second statement כן עשה refers to his replacing the rod of Aaron in the Sanctuary. The word כאשר therefore refers to both actions.