حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا يَحْيَى، عَنْ سُفْيَانَ، حَدَّثَنَا عَطَاءُ بْنُ السَّائِبِ، عَنْ أَبِي عَبْدِ الرَّحْمَنِ السُّلَمِيِّ، عَنْ عَلِيِّ بْنِ أَبِي طَالِبٍ، عَلَيْهِ السَّلاَمُ أَنَّ رَجُلاً، مِنَ الأَنْصَارِ دَعَاهُ وَعَبْدَ الرَّحْمَنِ بْنَ عَوْفٍ فَسَقَاهُمَا قَبْلَ أَنْ تُحَرَّمَ الْخَمْرُ فَأَمَّهُمْ عَلِيٌّ فِي الْمَغْرِبِ فَقَرَأَ ‏{‏ قُلْ يَا أَيُّهَا الْكَافِرُونَ ‏}‏ فَخَلَطَ فِيهَا فَنَزَلَتْ ‏{‏ لاَ تَقْرَبُوا الصَّلاَةَ وَأَنْتُمْ سُكَارَى حَتَّى تَعْلَمُوا مَا تَقُولُونَ ‏}‏ ‏.‏

Narrated Ali ibn AbuTalib: A man of the Ansar called him and AbdurRahman ibn Awf and supplied them wine before it was prohibited. Ali then led them in the evening prayer, and he recited; "Say: O ye who reject faith." He was confused in it. Then the following verse came down: "O ye who believe! approach not prayers with a mind befogged until you can understand all that ye say. Translation Not Available

Book reference: Sunan Abi Dawud Book 27 Hadith 3671
Web reference: Sunan Abi Dawud Book 26 Hadith 3663