This is exactly how I heard the Messenger of Allah ﷺ say it.
حدثنا الحسن بن عمرو حدثنا جرير عن منصور عن ربعي بن حراش قال اجتمع حذيفة وأبو مسعود فقال حذيفة لأنا بما مع الدجال أعلم منه إن معه بحرا من ماء ونهرا من نار فالذي ترون أنه نار ماء والذي ترون أنه ماء نار فمن أدرك ذلك منكم فأراد الماء فليشرب من الذي يرى أنه نار فإنه سيجده ماء
هكذا سمعت رسول الله ﷺ يقول
No references are available.
Bukhari narrated it in the Book of the Prophets, Chapter on What Was Mentioned About Banu Israil, no. 3450, and Muslim in the Book of Tribulations, Chapter on the Mention of Dajjal, no. 2934, from the hadith of Rubai, in this manner.