The Prophet ﷺ said, "Indeed, this world is sweet and green, and Allah has placed you as successors in it to see how you will act. So beware of the world, and beware of women, for the first trial of the Children of Israil was concerning women."
عن النبي ﷺ قال: إن الدنيا حلوة خضرة، وإن الله مستخلفكم فيها، فينظر كيف تعملون؟ فاتقوا الدنيا، واتقوا النساء، فإن أول فتنة بني إسرائيل كانت في النساء.
Muslim narrated it in the Chapter on Riqaq (2742) through multiple routes from Muhammad bin Jafar, who said, Shuba narrated to us, from Abu Maslama, who said, I heard Abu Nadra narrating from Abu Saeed Khudri, and he mentioned it.