Sahih al-Bukhari 808
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا الصَّلْتُ بْنُ مُحَمَّدٍ، قَالَ حَدَّثَنَا مَهْدِيٌّ، عَنْ وَاصِلٍ، عَنْ أَبِي وَائِلٍ، عَنْ حُذَيْفَةَ، رَأَى رَجُلاً لاَ يُتِمُّ رُكُوعَهُ وَلاَ سُجُودَهُ، فَلَمَّا قَضَى صَلاَتَهُ قَالَ لَهُ حُذَيْفَةُ مَا صَلَّيْتَ ـ قَالَ وَأَحْسِبُهُ قَالَ ـ وَلَوْ مُتَّ مُتَّ عَلَى غَيْرِ سُنَّةِ مُحَمَّدٍ صلى الله عليه وسلم.
Narrated Abu Wail:
Hudhaifa said, "I saw a person not performing his bowing and prostrations perfectly. When he completed the prayer, I told him that he had not prayed." I think that Hudhaifa added (i.e. said to the man), "Had you died, you would have died on a tradition other than that of the Prophet (ﷺ) Muhammad."
Full reference and source
Sahih al-Bukhari 808 In-book : Book 10, Hadith 203 USC-MSA web (English) : Vol. 1, Book 12, Hadith 772 (deprecated)
View source on Sunnah.com (opens in a new tab)