In the pre-lslamic period of ignorance a flood of rain came and filled the valley in between the two mountains (around the Ka`ba). Sahih al-Bukhari Book 63, Hadith 58