ENOfficial
It was narrated that ‘Ali (رضي الله عنه) said: I was a man who emitted a great deal of madhi. I asked the Prophet (ﷺ) and he said: “If you ejaculate, then do ghusl for janabah, and if you do not ejaculate, then do not do ghusl.”
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا أَبُو أَحْمَدَ، حَدَّثَنَا رِزَامُ بْنُ سَعِيدٍ التَّيْمِيُّ، عَنْ جَوَّابٍ التَّيْمِيِّ، عَنْ يَزِيدَ بْنِ شَرِيكٍ يَعْنِي التَّيْمِيَّ، عَنْ عَلِيٍّ، قَالَ كُنْتُ رَجُلًا مَذَّاءً فَسَأَلْتُ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقَالَ إِذَا حَذَفْتَ فَاغْتَسِلْ مِنْ الْجَنَابَةِ وَإِذَا لَمْ تَكُنْ حَاذِفًا فَلَا تَغْتَسِلْ.
sunnah.com