It is narrated that Ibn Tha'labah (may Allah be pleased with him) came to the Messenger of Allah (peace and blessings be upon him) and said: Pray to Allah for martyrdom for me. The Prophet (peace and blessings be upon him) said: "O Allah, I make the blood of Ibn Tha'labah forbidden to the polytheists and the disbelievers." He said: I would charge into the bulk of the enemy, and the Prophet (peace and blessings be upon him) would appear to me behind them. The people said: O Ibn Tha'labah, you attack the enemy and push right through. He said: "The Prophet (peace and blessings be upon him) appears to me behind them, so I charge at them until I reach him (peace and blessings be upon him); then he (peace and blessings be upon him) appears to me beside my companions, so I charge again until I am back with my companions." He said: Then he lived a long life.
Hadith Referenceالمعجم الكبير للطبراني / باب الضاد / 8125