Sayyiduna Amr bin al-As (may Allah be pleased with him) narrates: Once, on a cold night, I experienced a wet dream. This was during the expedition of Dhat al-Salasil. I feared that if I performed ghusl (ritual bath), I would perish, so I performed tayammum and led my companions in the morning prayer. Later, this matter was mentioned to the Prophet Muhammad (peace and blessings be upon him), so he asked: "O Amr! Did you lead your companions in prayer while you were in a state of janabah (major ritual impurity)?" I explained to him the reason that prevented me from performing ghusl. I said: I heard Allah, the Exalted, say: "Do not kill yourselves; indeed, Allah is ever Merciful to you." Upon this, the Prophet Muhammad (peace and blessings be upon him) smiled and did not say anything.
Hadith Referenceسنن الدارقطني / كتاب الطهارة / 681
Hadith Takhrij«أخرجه ابن حبان فى ((صحيحه)) برقم: 1315، والحاكم فى ((مستدركه)) برقم: 633، 634، وأبو داود فى ((سننه)) برقم: 334، بدون ترقيم، والبيهقي فى((سننه الكبير)) برقم: 1087، 1088، والدارقطني فى ((سننه)) برقم: 681، 682، وأحمد فى ((مسنده)) برقم: 18091، وعبد الرزاق فى ((مصنفه)) برقم: 878، والطحاوي فى ((شرح مشكل الآثار)) برقم: 2457»