Genesis 8:6-9

8:6 At the end of forty days, Noah opened the window he had made in the ark 8:7 and sent out a raven; it kept flying back and forth until the waters had dried up on the earth.

8:8 Then Noah sent out a dove to see if the waters had receded from the surface of the ground. 8:9 The dove could not find a resting place for its feet because water still covered the surface of the entire earth, and so it returned to Noah in the ark. He stretched out his hand, took the dove, and brought it back into the ark.