Praise be to Allah.
This action is undoubtedly wrong, and it is contrary to good treatment of one's wife. Allah says (interpretation of the meaning):
“and live with them honourably”
“And they (women) have rights (over their husbands as regards living expenses) similar (to those of their husbands) over them (as regards obedience and respect) to what is reasonable”
And the Prophet (peace and blessings of Allah be upon him) said:
“The best of you are those who are best to their wives.” Narrated by al-Tirmidhi, 3895; classed as saheeh by al-Albani in Saheeh al-Tirmidhi.
It follows from this that the husband has to have intercourse with his wife in the manner that is sufficient to meet her needs. It is not a part of living with her honourably to forsake her for this length of time, namely four months. If that causes harm to the woman, then she has the right to demand an annulment of the marriage,
With regard to the comment made by some of the scholars, that the husband only has to have intercourse with his wife once every four months, this is a weak view, for which there is no clear saheeh (sound) evidence. The correct view is that he has to have intercourse with his wife as often as will satisfy her needs, because of the shar’i principles mentioned above.