Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:2671aShaybān b. Farrūkh > ʿAbd al-Wārith > Abū al-Tayyāḥ > Anas b. Mālik

It is from the conditions of the Last Hour that knowledge would be taken away and ignorance would prevail (upon the world), the liquor would be drunk, and adultery would become rampant.  

مسلم:٢٦٧١aحَدَّثَنَا شَيْبَانُ بْنُ فَرُّوخَ حَدَّثَنَا عَبْدُ الْوَارِثِ حَدَّثَنَا أَبُو التَّيَّاحِ حَدَّثَنِي أَنَسُ بْنُ مَالِكٍ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ مِنْ أَشْرَاطِ السَّاعَةِ أَنْ يُرْفَعَ الْعِلْمُ وَيَثْبُتَ الْجَهْلُ وَيُشْرَبَ الْخَمْرُ وَيَظْهَرَ الزِّنَا  


See similar narrations below:

Collected by Bukhārī, Aḥmad, Nasāʾī's Kubrá, Suyūṭī
bukhari:80ʿImrān b. Maysarah > ʿAbd al-Wārith > Abū al-Tayyāḥ > Anas

Messenger of Allah ﷺ said, "From among the portents of the Hour are (the following): -1. Religious knowledge will be taken away (by the death of Religious learned men). -2. (Religious) ignorance will prevail. -3. Drinking of Alcoholic drinks (will be very common). -4. There will be prevalence of open illegal sexual intercourse.  

البخاري:٨٠حَدَّثَنَا عِمْرَانُ بْنُ مَيْسَرَةَ قَالَ حَدَّثَنَا عَبْدُ الْوَارِثِ عَنْ أَبِي التَّيَّاحِ عَنْ أَنَسٍ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ إِنَّ مِنْ أَشْرَاطِ السَّاعَةِ أَنْ يُرْفَعَ الْعِلْمُ وَيَثْبُتَ الْجَهْلُ وَيُشْرَبَ الْخَمْرُ وَيَظْهَرَ الزِّنَا  

ahmad:12527ʿAbd al-Ṣamad from my father > Abū al-Tayyāḥ > Anas b. Mālik

It is from the conditions of the Last Hour that knowledge would be taken away and ignorance would prevail (upon the world), the liquor would be drunk, and adultery would become rampant. (Using translation from Muslim 2671a)  

أحمد:١٢٥٢٧حَدَّثَنَا عَبْدُ الصَّمَدِ حَدَّثَنِي أَبِي حَدَّثَنَا أَبُو التَّيَّاحِ حَدَّثَنَا أَنَسُ بْنُ مَالِكٍ قَالَ

قَالَ رَسُولُ اللهِ ﷺ مِنْ أَشْرَاطِ السَّاعَةِ أَنْ يُرْفَعَ الْعِلْمُ وَيَثْبُتَ الْجَهْلُ وَتُشْرَبَ الْخُمُورُ وَيَظْهَرَالزِّنَا  

nasai-kubra:5874ʿImrān b. Mūsá > ʿAbd al-Wārith > Abū al-Tayyāḥ > Anas b. Mālik

Messenger of Allah ﷺ said, "From among the portents of the Hour are (the following): -1. Religious knowledge will be taken away (by the death of Religious learned men). -2. (Religious) ignorance will prevail. -3. Drinking of Alcoholic drinks (will be very common). -4. There will be prevalence of open illegal sexual intercourse. (Using translation from Bukhārī 80)  

الكبرى للنسائي:٥٨٧٤أَخْبَرَنَا عِمْرَانُ بْنُ مُوسَى قَالَ حَدَّثَنَا عَبْدُ الْوَارِثِ عَنْ أَبِي التَّيَّاحِ قَالَ حَدَّثَنَا أَنَسُ بْنُ مَالِكٍ قَالَ

قَالَ رَسُولُ اللهِ ﷺ «مِنْ أَشْرَاطِ السَّاعَةِ أَنْ يُرْفَعَ الْعِلْمُ وَيَثْبُتَ الْجَهْلُ وَيُشْرَبُ الْخَمْرُ وَيَظْهَرُ الزِّنَا»