Hadithcore
Sahih Muslim, 1876 f
sahih

It has been narrated on the authority of Abu Huraira who said:

I heard the Messenger of Allah (ﷺ) say: I would not stay behind (when) an expedition (for Jihad was being mobilised) if it were going to be too hard upon the believers.... This is followed by the same words as have appeared in the previous tradition, but this tradition has the same ending as the previous hadith with a slight difference in the wording:" By the Being in Whose Hand is my life, I love that I should be killed in the way of Allah; then I should be brought back to life and be killed again in His way...."

وَحَدَّثَنَا ابْنُ أَبِي عُمَرَ، حَدَّثَنَا سُفْيَانُ، عَنْ أَبِي الزِّنَادِ، عَنِ الأَعْرَجِ، عَنْ أَبِي هُرَيْرَةَ، قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏"‏ لَوْلاَ أَنْ أَشُقَّ عَلَى الْمُؤْمِنِينَ ما قَعَدْتُ خِلاَفَ سَرِيَّةٍ ‏"‏ ‏.‏ بِمِثْلِ حَدِيثِهِمْ ‏.‏ وَبِهَذَا الإِسْنَادِ ‏"‏ وَالَّذِي نَفْسِي بِيَدِهِ لَوَدِدْتُ أَنِّي أُقْتَلُ فِي سَبِيلِ اللَّهِ ثُمَّ أُحْيَى ‏"‏ ‏.‏ بِمِثْلِ حَدِيثِ أَبِي زُرْعَةَ عَنْ أَبِي هُرَيْرَةَ ‏.‏

References2 variants
In-Book Reference
Book 33, Hadith 160
USC-MSA web (English) reference
Book 20, Hadith 4631 (deprecated numbering scheme)