It is narrated from Salih bin Abdullah bin Zubair that Ka'b (may Allah be pleased with him) said to him while he was building a dam of clay for water in Mecca: "Make it hard and strong, for we find in the books that in the last era, floods will become great."
Hadith Referenceمسند الإمام الشافعي / كتاب العيدين والأضاحي والاستسقاء / 529
Hadith Takhrijاسناده ضعيف لضعف من لا يتهمه الشافعي وهو ابراهيم بن محمد : اخرجه البيهقي في المعرفة السنن والآثار (2044)۔