It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that during the Prophetic era, a man received a wound, and coincidentally he had a wet dream. The people ordered him to perform ghusl, due to which he died. When the Prophet (peace and blessings be upon him) learned of this, he said: "They killed him, may Allah kill them! Was not the cure for ignorance to ask?"
Hadith Referenceمسند احمد / ومن مسند بني هاشم / 3056
Hadith Gradingحکم دارالسلام:حديث حسن، وفي إسناده انقطاع بين الأوزاعي و بين عطاء