Saudi Arabia has ordered schools to close after severe flooding swept through parts of the country.