A man from the Ansar said: Sayyiduna Abu Qays (may Allah be pleased with him), who was among the righteous of the Ansar, passed away. His son Qays then proposed marriage to his wife. She said: I regard you as my own child, and you are among the righteous of your people, but I will go to the Messenger of Allah (peace and blessings be upon him) and consult him. So she came to the Messenger of Allah (peace and blessings be upon him) and said: Abu Qays has passed away. He (peace and blessings be upon him) spoke well of him to her. She said: And his son Qays has proposed to me, while he is among the righteous of his people, and I used to regard him as my own child. He (peace and blessings be upon him) said to her: "Go back to your house." Then this verse was revealed: "And do not marry those women whom your fathers married" [Surah al-Nisa': 22].
Hadith Referenceالمعجم الكبير للطبراني / مسند من يعرف بالكنى / 19181