Hadithcore
Mishkat al-Masabih, 432

Ibn ‘Abbas said that "Water is necessary only when there is an emission” applies to a dream. Tirmidhi transmitted it, but I have not found it in the two <i>Sahihs</i>.

وَقَالَ ابْنُ عَبَّاسٍ: إِنَّمَا الْمَاءُ مِنَ الْمَاءِ فِي الِاحْتِلَامِ. رَوَاهُ التِّرْمِذِيُّ وَلَمْ أَجِدْهُ فِي الصَّحِيحَيْنِ

References1 variant
In-Book Reference
Book 3, Hadith 137