Sayyiduna Ali (may Allah be pleased with him) narrates that the Prophet (peace and blessings be upon him) once instructed me to offer a sacrifice on his behalf, so I will continue to offer a sacrifice on his behalf until the end.
Hadith Referenceمسند احمد / مسند الخلفاء الراشدين / 843