Sunan an-Nasa'i, Book 51, Hadith 114 (In-Book)

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.'"

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

sunnah.com