Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:15360Sufyān > Abū Hāshim al-Wāsiṭī > Jahm b. Dīnār > Ibrāhīm

[Machine] If he lies about himself after swearing, he will be struck and the child will be attached to him, and they will never be united. And Allah knows best.  

البيهقي:١٥٣٦٠قَالَ وَنا سُفْيَانُ عَنْ أَبِي هَاشِمٍ الْوَاسِطِيِّ عَنْ جَهْمِ بْنِ دِينَارٍ عَنْ إِبْرَاهِيمَ قَالَ

إِذَا أَكْذَبَ نَفْسَهُ بَعْدَ اللِّعَانِ ضُرِبَ وَأُلْزِقَ بِهِ الْوَلَدُ وَلَا يَجْتَمِعَانِ أَبَدًا وَاللهُ أَعْلَمُ