كتاب الرقاق
49  
The Book of Heart-Melting Traditions
(1)
Chapter: "Most Of The People Of Paradise Are Poor, And Most Of The Inhabitants Of The Fire Are Women, And The Fitnah Of Women"
(1)
بَاب أَكْثَرُ أَهْلِ الْجَنَّةِ الْفُقَرَاءُ وَأَكْثَرُ أَهْلِ النَّارِ النِّسَاءُ وَبَيَانِ الْفِتْنَةِ بِالنِّسَاءِ
Sahih Muslim 2742

Abu Sa'id Khudri reported that Allah's Messenger (ﷺ) said:

The world is sweet and green (alluring) and verily Allah is going to install you as vicegerent in it in order to see how you act. So avoid the allurement of women: verily, the first trial for the people of Isra'il was caused by women. And in the hadith transmitted on the authority of Ibn Bashshar the words are:" So that He should see how you act."
حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، وَمُحَمَّدُ بْنُ بَشَّارٍ، قَالاَ حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ، حَدَّثَنَا شُعْبَةُ، عَنْ أَبِي مَسْلَمَةَ، قَالَ سَمِعْتُ أَبَا نَضْرَةَ، يُحَدِّثُ عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏"‏ إِنَّ الدُّنْيَا حُلْوَةٌ خَضِرَةٌ وَإِنَّ اللَّهَ مُسْتَخْلِفُكُمْ فِيهَا فَيَنْظُرُ كَيْفَ تَعْمَلُونَ فَاتَّقُوا الدُّنْيَا وَاتَّقُوا النِّسَاءَ فَإِنَّ أَوَّلَ فِتْنَةِ بَنِي إِسْرَائِيلَ كَانَتْ فِي النِّسَاءِ ‏"‏ ‏.‏ وَفِي حَدِيثِ ابْنِ بَشَّارٍ ‏"‏ لِيَنْظُرَ كَيْفَ تَعْمَلُونَ ‏"‏ ‏.‏
Reference : Sahih Muslim 2742
In-book reference : Book 49, Hadith 12
USC-MSA web (English) reference : Book 36, Hadith 6606
  (deprecated numbering scheme)