It is narrated from Sayyiduna Ali (may Allah be pleased with him) that a man of the Ansar invited him and Sayyiduna Abd al-Rahman bin Awf (may Allah be pleased with him), and gave the two of them wine to drink (before the prohibition of wine was revealed). Then Sayyiduna Ali (may Allah be pleased with him) led them in the Maghrib prayer and recited Surah "Say: O disbelievers", and the words became confused in it (because of intoxication). Upon this, Allah, the Blessed and Exalted, revealed this verse: "O you who believe, do not approach prayer while you are intoxicated until you know what you are saying."
All the narrators of this chain are trustworthy (thiqah) and reliable.