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.
nasai:5123Muḥammad b. al-Muthanná > Abū Dāwud > Shuʿbah > ʿAṭāʾ > Ibn ʿAmr > a man > Yaʿlá > Khālafah Sufyān Rawāh > ʿAṭāʾ b. al-Sāʾib > ʿAbdullāh b. Ḥafṣ

A similar report was narrated from Ibn 'Amr, from a man, from Ya'la.  

النسائي:٥١٢٣أَخْبَرَنَا مُحَمَّدُ بْنُ الْمُثَنَّى قَالَ حَدَّثَنَا أَبُو دَاوُدَ قَالَ حَدَّثَنَا شُعْبَةُ عَنْ عَطَاءٍ عَنِ ابْنِ عَمْرٍو عَنْ رَجُلٍ

عَنْ يَعْلَى نَحْوَهُ خَالَفَهُ سُفْيَانُ رَوَاهُ عَنْ عَطَاءِ بْنِ السَّائِبِ عَنْ عَبْدِ اللَّهِ بْنِ حَفْصٍ عَنْ يَعْلَى