It is narrated from Sayyiduna Sharahil bin Murrah (may Allah be pleased with him) that he said: I heard the Messenger of Allah (peace and blessings be upon him) say to Sayyiduna Ali (may Allah be pleased with him): "Rejoice, O Ali! Your life and your death are with me."
Hadith Referenceالمعجم الكبير للطبراني / باب الشين / 7186