The Prophet said: "Whichever man married a woman and entered into her, then it is not lawful for him to marry her daughter. If he did not enter into her then he may marry her daughter. And whichever man married a woman and he entered into her, or he did not enter into her, then it is not lawful for him to marry her mother." (Using translation from Tirmidhī 1117)
أَنَّ رَسُولَ اللهِ ﷺ قَالَ أَيُّمَا رَجُلٍ نَكَحَ امْرَأَةً فَدَخَلَ بِهَا أَوْ لَمْ يَدْخُلْ بِهَا فَلَا يَحِلُّ لَهُ نِكَاحُ أُمِّهَا وَأَيُّمَا رَجُلٍ نَكَحَ امْرَأَةً فَدَخَلَ بِهَا فَلَا يَحِلُّ لَهُ نِكَاحُ ابْنَتِهَا وَإِنْ لَمْ يَدْخُلْ بِهَا فَلْيَنْكِحِ ابْنَتَهَا إِنْ شَاءَ وَاللهُ أَعْلَمُ بِالصَّوَابِ