مشكوة المصابيح Mishkat al-Masabih كتاب الطهارة The Book of Purification
(مَنْ رَأَى الجِمَاعَ فِي المَنَامِ وَلَمْ يَنْزِلْ فَلَا غُسْلَ عَلَيْهِ)

(If One Sees Intercourse in a Dream but Does Not Ejaculate, Ghusl is Not Obligatory)

1 hadith
Hadith 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 Sahihs.
Hadith Reference Mishkat al-Masabih / The Book of Purification / Hadith: 432
Hadith Grading الألبانی: لم تتمّ دراسته  |  زبیر علی زئی: إسناده ضعيف
Hadith Takhrij ´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «إسناده ضعيف، رواه الترمذي (112) ¤٭ فيه شريک القاضي مدلس و عنعن و باقي السند حسن .»