Hadithcore
Sahih al-Bukhari, 5982
sahih

Narrated Abu Ayyub Al-Ansari:

It was said" "O Allah's Messenger (ﷺ) ! Inform me of a deed which will make me enter Paradise." (continues through a different chain in the next hadith)

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

References2 variants
In-Book Reference
Book 78, Hadith 13
USC-MSA web (English) reference
Vol. 1, Book 73, Hadith 12 (deprecated numbering scheme)