Sunan an Nasai 5652
The Book of Drinks
أَخْبَرَنِي مُحَمَّدُ بْنُ آدَمَ بْنِ سُلَيْمَانَ، عَنِ ابْنِ فُضَيْلٍ، عَنْ أَبِي سِنَانٍ، عَنْ مُحَارِبِ بْنِ دِثَارٍ، عَنْ عَبْدِ اللَّهِ بْنِ بُرَيْدَةَ، عَنْ أَبِيهِ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " إِنِّي كُنْتُ نَهَيْتُكُمْ عَنْ زِيَارَةِ الْقُبُورِ فَزُورُوهَا وَنَهَيْتُكُمْ عَنْ لُحُومِ الأَضَاحِي فَوْقَ ثَلاَثَةِ أَيَّامٍ فَأَمْسِكُوا مَا بَدَا لَكُمْ وَنَهَيْتُكُمْ عَنِ النَّبِيذِ إِلاَّ فِي سِقَاءٍ فَاشْرَبُوا فِي الأَسْقِيَةِ كُلِّهَا وَلاَ تَشْرَبُوا مُسْكِرًا " .
It was narrated from 'Abdullah bin Buraidah that his father said:"The Messenger of Allah [SAW] said: 'I used to forbid you to visit graves, but (now) visit them. And I forbade you (to keep) the sacrificial meat for three days, but now keep whatever you wish. And I forbade Nabidh to you, unless it was (made) in a water skin, but now drink from all kinds of vessels but do not drink any intoxicant
Grading: Abu Ghuddah: Sahih · Al-Albani: Sahih · Zubair Ali Zai: Hasan
Text from the public-domain hadith-api dataset. Numbering follows that dataset and can differ by a few from some printed editions — check the wording, not only the number.