The Prophet ﷺ said, "I had forbidden you from visiting graves, but now visit them. I had forbidden you from keeping the meat of sacrifices beyond three days, but now keep it. And I had forbidden you from using certain containers for drinks, but now use them for that purpose, and avoid every intoxicant."
حدثنا يزيد بن هارون أخبرنا حماد بن يزيد حدثنا فرقد السبخي قال حدثنا جابر بن يزيد أنه سمع مسروقا يحدث
عن النبي ﷺ أنه قال إني كنت نهيتكم عن زيارة القبور فزوروها ونهيتكم أن تحبسوا لحوم الأضاحي فوق ثلاث فاحبسوا ونهيتكم عن الظروف فانبذوا فيها واجتنبوا كل مسكر
Its isnad is daif, due to the weakness of Farqad Sabakhi, as we explained in 13:2133. Jabir bin Yazid, it appears, is Jufi, which would be another weakness in the isnad. The hadith is in Majma al-Zawaid 4:26-27, where it says, Ahmad and Abu Yaala narrated it, and it contains Farqad Sabakhi, who is daif. See also 1246, 4558.