Hakim bin Mu'awiyah narrated this statement of his paternal uncle: I said: "O Messenger of Allah, I stay away from water for a month at a time, and my wife is with me. May I have intercourse with her?" The Prophet (peace and blessings be upon him) said: "Yes." I said: "O Messenger of Allah, what if I stay away from water for several months?" The Prophet (peace and blessings be upon him) said: "Even if you stay away for three years (the ruling is the same)."
Al-Tabarani recorded it in al-Mu'jam al-Kabir, and its chain is hasan (good).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الطهارة / 1421