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:184Abū ʿAlī > Abū Bakr > Abū Dāwud > Aḥmad b. ʿAmr b. al-Sarḥ > Ibn Wahb > al-Darāwardī > Wadhakar Rabīʿah

This tradition means that if a person performs ablution and takes a bath but does not have the intention to perform ablution for prayer and purify himself from sexual defilement, his ablution or bath is not valid. (Using translation from Abū Dāʾūd 102)   

البيهقي:١٨٤حَدَّثَنَا أَبُو عَلِيٍّ ثنا أَبُو بَكْرٍ ثنا أَبُو دَاوُدَ ثنا أَحْمَدُ بْنُ عَمْرِو بْنِ السَّرْحِ ثنا ابْنُ وَهْبٍ عَنِ الدَّرَاوَرْدِيِّ قَالَ وَذَكَرَ رَبِيعَةُ

أَنَّ تَفْسِيرَ حَدِيثِ رَسُولِ اللهِ ﷺ لَا وُضُوءَ لِمَنْ لَمْ يَذْكُرِ اسْمَ اللهِ عَلَيْهِ أَنَّهُ الَّذِي يَتَوَضَّأُ وَيَغْتَسِلُ وَلَا يَنْوِي وُضُوءًا لِلصَّلَاةِ وَلَا غُسْلًا لِلْجَنَابَةِ  


See similar narrations below:

Collected by Abū Dāwūd
abudawud:102Aḥmad b. ʿAmr b. al-Sarḥ > Ibn Wahb > al-Darāwardī > Wadhakar Rabīʿah

This tradition means that if a person performs ablution and takes a bath but does not have the intention to perform ablution for prayer and purify himself from sexual defilement, his ablution or bath is not valid.  

أبو داود:١٠٢حَدَّثَنَا أَحْمَدُ بْنُ عَمْرِو بْنِ السَّرْحِ حَدَّثَنَا ابْنُ وَهْبٍ عَنِ الدَّرَاوَرْدِيِّ قَالَ وَذَكَرَ رَبِيعَةُ

أَنَّ تَفْسِيرَ حَدِيثِ النَّبِيِّ ﷺ لاَ وُضُوءَ لِمَنْ لَمْ يَذْكُرِ اسْمَ اللَّهِ عَلَيْهِ أَنَّهُ الَّذِي يَتَوَضَّأُ وَيَغْتَسِلُ وَلاَ يَنْوِي وُضُوءًا لِلصَّلاَةِ وَلاَ غُسْلاً لِلْجَنَابَةِ