Sunan Ibn Majah, Book 1, Hadith 615 (In-Book)

It was narrated that 'Ata' bin Abu Rabah said: "I heard Ibn 'Abbas saying that a man was injured in the head at the time of the Messenger of Allah, then he had a wet dream. He was told to have a bath, so he took the bath, became rigid and stiff, and died. News of that reached the Messenger of Allah and he said: 'They have killed him, may Allah kill them! Is not the cure for a lack of knowledge to ask questions?'"'Ata' said: "We heard that the Messenger of Allah said: 'If only he had washed his body and left his head alone where the wound was.'"

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

sunnah.com