All perfect praise be to Allaah, The Lord of the worlds. I testify that there is none worthy of worship except Allaah and that Muhammad is His slave and Messenger.
We have not come across any scholar who mentioned the hadeeth that you asked about in your question. However, some scholars stated that the ahaadeeth that are mentioned about the prohibition of marrying among relatives are not authentic.
For instance, the prominent scholar Ibn Al-Mulaqqin said in Al-Badr Al-Muneer, “It was reported that the Prophet said, 'Do not marry a close relative because the offspring will be weak.' Al-Qaadhi Al-Husayn and the Imaam al-Haramayn (Al-Juwayni) reported it also and said, “It is inauthentic.”
As regards Ibn As-Salah, he said, “I did not find a reliable source for this hadeeth. He also commented on it saying, 'The offspring will be weak'; that is because his lust cannot be completely fulfilled with a female relative.”
Al-Qaadhi Al-Husayn mentioned another hadeeth with the same meaning, which is, 'Marry strangers, (do not marry relatives), otherwise the offspring will be weak.'
I have not seen any reliable narration in this regard in any Hadeeth book, except what I read in Ghareeb Al-Hadeeth complied by Ibraaheem al-Harbi from 'Abdullaah ibn Al-Mu'ammil from Ibn Abi Mulaykah that 'Umar said to the tribe of As-Saa'ib, 'Your offspring has become weak; so marry stangers.'” [End of quote]
For more benefit, please refer to fataawa92604 and 107116.
Allaah knows best.