That he had married Um Yahya bint Abu Ihab. He said. "A black slave-lady came and said, 'I suckled you both.' I then mentioned that to the Prophet ﷺ who turned his face aside." ʿUqba further said, "I went to the other side and told the Prophet ﷺ about it. He said, 'How can you (keep her as your wife) when the lady has said that she suckled both of you (i.e. you and your wife?)" So, the Prophet ﷺ ordered him to divorce her. (Using translation from Bukhārī 2659)
أَنَّهُ تَزَوَّجَ أُمَّ يَحْيَى ابْنَةَ أَبِي إِهَابٍ فَجَاءَتْ أَمَةٌ سَوْدَاءُ فَقَالَتْ قَدْ أَرْضَعْتُكُمَا فَذَكَرْتُ ذَلِكَ لِرَسُولِ اللهِ ﷺ فَأَعْرَضَ عَنِّي فَتَنَحَّيْتُ فَذَكَرْتُهُ لَهُ فَقَالَ فَكَيْفَ وَقَدْ زَعَمَتْ أَنْ قَدْ أَرْضَعَتْكُمَا فَنَهَاهُ عَنْهَا