At Creation
Genesis 2
5 And every plant of the field before it was in the earth, and every herb of the field before it grew: for the Lord God had not caused it to rain upon the earth, and there was not a man to till the ground.
6 But there went up a mist from the earth, and watered the whole face of the ground.
Then at time of the Flood
Genesis 7
4 For yet seven days, and I will cause it to rain upon the earth forty days and forty nights; and every living substance that I have made will I destroy from off the face of the earth.
5 And Noah did according unto all that the Lord commanded him.
Genesis 7
12 And the rain was upon the earth forty days and forty nights.
Genesis 8
1 And God remembered Noah, and every living thing, and all the cattle that was with him in the ark: and God made a wind to pass over the earth, and the waters assuaged;
2 The fountains also of the deep and the windows of heaven were stopped, and the rain from heaven was restrained;
3 And the waters returned from off the earth continually: and after the end of the hundred and fifty days the waters were abated.