Sahih al-Bukhari 348
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا عَبْدَانُ، قَالَ أَخْبَرَنَا عَبْدُ اللَّهِ، قَالَ أَخْبَرَنَا عَوْفٌ، عَنْ أَبِي رَجَاءٍ، قَالَ حَدَّثَنَا عِمْرَانُ بْنُ حُصَيْنٍ الْخُزَاعِيُّ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم رَأَى رَجُلاً مُعْتَزِلاً لَمْ يُصَلِّ فِي الْقَوْمِ فَقَالَ يَا فُلاَنُ مَا مَنَعَكَ أَنْ تُصَلِّيَ فِي الْقَوْمِ ". فَقَالَ يَا رَسُولَ اللَّهِ، أَصَابَتْنِي جَنَابَةٌ وَلاَ مَاءَ. قَالَ " عَلَيْكَ بِالصَّعِيدِ فَإِنَّهُ يَكْفِيكَ "."
Narrated `Imran bin Husain Al-Khuza`i:
Allah's Messenger (ﷺ) saw a person sitting aloof and not praying with the people. He asked him, "O so and so! What prevented you from offering the prayer with the people?" He replied, "O Allah's Messenger (ﷺ)! I am Junub and there is no water." The Prophet (ﷺ) said, "Perform Tayammum with clean earth and that will be sufficient for you."
Full reference and source
Sahih al-Bukhari 348 In-book : Book 7, Hadith 15 USC-MSA web (English) : Vol. 1, Book 7, Hadith 344 (deprecated)
View source on Sunnah.com (opens in a new tab)