Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) said that the Messenger of Allah (peace and blessings be upon him) said: "I used to forbid you from visiting graves; so visit them, for in them there is a lesson. I used to forbid you from nabidh; so now make nabidh, but I am not making anything intoxicating lawful. And I used to forbid you from (storing) the meat of sacrificial animals; so eat it and store it."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنائز / 7196