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

Yahya related to me from Malik from Hisham ibn Urwa that Zuyaydibn as-Salt said, "I went with Umar ibn al-Khattab to Juruf and helooked down and noticed that he had had a wet dream and had prayedwithout doing ghusl. He exclaimed, 'By Allah I realise that I have hada wet dream and did not know it and have not done ghusl.' So he didghusl and washed off whatever he saw on his garment, and sprinkledwith water whatever he did not see.Then he gave the adhan or the iqamaand prayed in the midmorning." Translation Not Available

Book Ref: Muwatta Imam Malik Book 2 Hadith 112
Web Ref:  Muwatta Imam Malik Book 2 Hadith 82