I had a sexual dream on a cold night in the battle of Dhat as-Salasil. I was afraid, if I washed I would die. I, therefore, performed tayammum and led my companions in the dawn prayer. They mentioned that to the Messenger of Allah ﷺ. He said: Amr, you led your companions is prayer while you were sexually defiled? I informed him of the cause which impeded me from washing. And I said: I heard Allah say: "Do not kill yourself, verily Allah is merciful to you." The Messenger of Allah ﷺ laughed and did not say anything. Abu Dawud said: 'Abd al-Rahman b. Jubair is an Egyptian and a freed slave of Kharijah b. Hudhafah. He is not Jubair b. Nufair (Using translation from Abū Dāʾūd 334)
احْتَلَمَتْ فِي لَيْلَةٍ بَارِدَةٍ فِي غَزْوَةِ ذَاتِ السَّلَاسِلِ فَأَشْفَقْتُ إِنِ اغْتَسَلْتُ أَنْ أَهْلِكَ فَتَيَمَّمْتُ ثُمَّ صَلَّيْتُ بِأَصْحَابِي الصُّبْحَ فَذَكَرُوا لِلنَّبِيِّ ﷺ فَقَالَ «يَا عَمْرُو صَلَّيْتَ بِأَصْحَابِكَ وَأَنْتَ جُنُبٌ؟» فَأَخْبَرْتُهُ بِالَّذِي مَنَعَنِي مِنَ الِاغْتِسَالِ وَقُلْتُ إِنِّي سَمِعْتُ أَنَّ اللَّهَ يَقُولُ {وَلَا تَقْتُلُوا أَنْفُسَكُمْ إِنَّ اللَّهَ كَانَ بِكُمْ رَحِيمًا} [النساء 29] فَضَحِكَ رَسُولُ اللَّهِ ﷺ وَلَمْ يَقُلْ شَيْئًا «حَدِيثُ جَرِيرِ بْنِ حَازِمٍ هَذَا لَا يُعَلَّلُ حَدِيثُ عَمْرِو بْنِ الْحَارِثِ الَّذِي وَصَلَهُ بِذِكْرِ أَبِي قَيْسٍ فَإِنَّ أَهْلَ مِصْرَ أَعْرَفُ بِحَدِيثِهِمْ مِنْ أَهْلِ الْبَصْرَةِ»