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:607Abū ʿAbdullāh al-Ḥāfiẓ > Abū Bakr b. Bālawayh > Muḥammad b. Shādhān al-Jawharī > Muʿallá b. Manṣūr > Hushaym > al-Aʿmash > Ibrāhīm > Abū ʿUbaydah > ʿAbdullāh

[Machine] The Qibla includes touching (with the hands or body) for ablution, except for touching that happens during sexual intercourse.  

البيهقي:٦٠٧وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ نا أَبُو بَكْرِ بْنُ بَالَوَيْهِ ثنا مُحَمَّدُ بْنُ شَاذَانَ الْجَوْهَرِيُّ نا مُعَلَّى بْنُ مَنْصُورٍ ثنا هُشَيْمٌ عَنِ الْأَعْمَشِ عَنْ إِبْرَاهِيمَ عَنْ أَبِي عُبَيْدَةَ عَنْ عَبْدِ اللهِ قَالَ

الْقُبْلَةُ مِنَ اللَّمْسِ وَمِنْهَا الْوُضُوءُ وَاللَّمْسُ مَا دُونَ الْجِمَاعِ هَكَذَا  

رَوَاهُ الثَّوْرِيُّ وَشُعْبَةُ عَنِ الْأَعْمَشِ