The Messenger of Allah ﷺ sent word to me and to my companion saying that the Messenger of Allah ﷺ commands you both to keep away from your wives.I asked the messenger, "Should I divorce my wife, or what should I do?"He replied, "No, just keep apart from her and do not approach her."So I said to my wife, "Go to your family and stay with them until Allah decides the matter."She went to them. Muamar narrated it differently.
أخبرنا محمد بن معدان بن عيسى قال حدثنا الحسن بن أعين قال حدثنا معقل عن الزهري قال أخبرني عبد الرحمن بن عبد الله بن كعب عن عمه عبيد الله بن كعب قال
أرسل إلي رسول الله ﷺ وإلى صاحبي إن رسول الله ﷺ يأمركم أن تعتزلوا نساءكم فقلت للرسول أطلق امرأتي أم ماذا أفعل قال لا بل تعتزلها ولا تقربها فقلت لامرأتي الحقي بأهلك فكوني فيهم حتى يقضي الله عز وجل فلحقت بهم خالفه معمر