Sahih al-Bukhari, Hadith 5001

Narrated 'Alqama: While we were in the city of Hims (in Syria), Ibn Mas`ud recited Surat Yusuf. A man said to him), "It was not revealed in this way." Then Ibn Mas`ud said, "I recited it in this way before Allah's Messenger and he confirmed my recitation by saying, 'Well done!' " Ibn Mas`ud detected the smell of wine from the man's mouth, so he said to him, "Aren't you ashamed of telling a lie about Allah's Book and (along with this) you drink alcoholic liquors too?" Then he lashed him according to the law.

حَدَّثَنِي مُحَمَّدُ بْنُ كَثِيرٍ، أَخْبَرَنَا سُفْيَانُ، عَنِ الأَعْمَشِ، عَنْ إِبْرَاهِيمَ، عَنْ عَلْقَمَةَ، قَالَ كُنَّا بِحِمْصَ فَقَرَأَ ابْنُ مَسْعُودٍ سُورَةَ يُوسُفَ، فَقَالَ رَجُلٌ مَا هَكَذَا أُنْزِلَتْ قَالَ قَرَأْتُ عَلَى رَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالَ أَحْسَنْتَ‏.‏ وَوَجَدَ مِنْهُ رِيحَ الْخَمْرِ فَقَالَ أَتَجْمَعُ أَنْ تُكَذِّبَ بِكِتَابِ اللَّهِ وَتَشْرَبَ الْخَمْرَ‏.‏ فَضَرَبَهُ الْحَدَّ‏.‏

sunnah.com