When a man marries a virgin while already having a non-virgin wife, he stays with the virgin for seven nights. When he marries a non-virgin while already having a virgin wife, he stays with her for three nights.Khalid said, "If I were to say that he traced this back to the Prophet, I would be telling the truth, but he said, 'The Sunnah is like that.'"
حدثنا يحيى بن يحيى أخبرنا هشيم عن خالد عن أبي قلابة
إذا تزوج البكر على الثيب أقام عندها سبعا وإذا تزوج الثيب على البكر أقام عندها ثلاثا قال خالد ولو قلت إنه رفعه لصدقت ولكنه قال السنة كذلك