Sunan Abi Dawud, Hadith 337

Narrated Abdullah ibn Abbas: A man was injured during the lifetime of the Messenger of Allah; he then had a sexual dream, and he was advised to wash and he washed himself. Consequently he died. When this was reported to the Messenger of Allah he said: They killed him; may Allah kill them! Is not inquiry the cure of ignorance?

حَدَّثَنَا نَصْرُ بْنُ عَاصِمٍ الأَنْطَاكِيُّ، حَدَّثَنَا مُحَمَّدُ بْنُ شُعَيْبٍ، أَخْبَرَنِي الأَوْزَاعِيُّ، أَنَّهُ بَلَغَهُ عَنْ عَطَاءِ بْنِ أَبِي رَبَاحٍ، أَنَّهُ سَمِعَ عَبْدَ اللَّهِ بْنَ عَبَّاسٍ، قَالَ أَصَابَ رَجُلاً جُرْحٌ فِي عَهْدِ رَسُولِ اللَّهِ صلى الله عليه وسلم ثُمَّ احْتَلَمَ فَأُمِرَ بِالاِغْتِسَالِ فَاغْتَسَلَ فَمَاتَ فَبَلَغَ رَسُولَ اللَّهِ صلى الله عليه وسلم فَقَالَ ‏ "‏ قَتَلُوهُ قَتَلَهُمُ اللَّهُ أَلَمْ يَكُنْ شِفَاءُ الْعِيِّ السُّؤَالَ ‏" ‏ ‏.‏

sunnah.com