Abu Dawud said: The Prophet (ﷺ) kept apart from some of his wives for forty days, and Ibn 'Umar kept apart from his son till he died.
Abu Dawud said: If keeping apart is meant for the sake of Allah, then it has no concern with it. 'Umar bin 'Abd al-'Aziz covered his face from a man.
In-book : Book 43, Hadith 144
English translation : Book 42, Hadith 4898