(Genesis 8:1, continued:) "AND GOD CAUSED A WIND TO PASS OVER THE EARTH." Which wind did the Holy One, blessed be He, cause to pass over the earth and over the waters, so that He restored them just as they were at their beginning? As it is stated, "And God caused a wind to pass over the earth, [and the waters subsided]." And it is written, "And the wind of God was hovering over the face of the waters" (Genesis 1:2). That very wind He caused to pass over them, and immediately they rested.
The Wind God Sent Over the Flood Waters in Noach
Midrash Tanchuma Buber, Noach 12:1
ויעבר אלהים רוח. איזה רוח (עובר) [העביר] הקב"ה על (הרוח) [הארץ] ועל המים והחזירן כשם שהיו מתחילתן, שנא' ויעבר אלהים רוח על הארץ, [וישכו המים] וכתיב ורוח אלהים מרחפת על פני המים (שם א ב), אותו הרוח העביר עליהן ונחו מיד.