Hadithcore
Sahih Muslim, 734
sahih

Jabir b. Samura reported that the Messenger of Allah (ﷺ) observed (Nafl) prayer sitting before his death.

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

References2 variants
In-Book Reference
Book 6, Hadith 144
USC-MSA web (English) reference
Book 4, Hadith 1599 (deprecated numbering scheme)