[Machine] A man from among the companions of the Prophet ﷺ used to constantly travel and engage in warfare, and his wife sent a maid with him. She said, "She will wash your head, serve you, and take care of your belongings, but she will not be for you as a wife." And indeed, his journey was extended. Because of that, he had a relationship with the maid. When it was over, the maid informed her mistress about it. Out of extreme jealousy and anger, she went to the Messenger of Allah ﷺ and informed him of what had happened. The Messenger of Allah ﷺ said to her, "If she was forced, then she is to be freed and he has to free a slave like her. But if it was done willingly and out of her own desire, then she belongs to him and he has to pay her the equal of her worth." And he did not establish a punishment for him. Al-Bukhari said, according to what I have heard, the most authentic narration of this incident is from the narration of Qabeesah.
أَنَّ رَجُلًا مِنْ أَصْحَابِ النَّبِيِّ ﷺ كَانَ لَا يَزَالُ يُسَافَرُ وَيَغْزُو وَإِنَّ امْرَأَتَهُ بَعَثَتْ مَعَهُ جَارِيَةً لَهَا فَقَالَتْ تَغْسِلُ رَأْسَكَ وَتَخْدِمُكَ وَتَحْفَظُ رَحْلَكَ وَلَمْ تَجْعَلْهَا لَهُ وَأَنَّهُ طَالَ سَفَرُهُ فِي وَجْهِهِ ذَلِكَ فَوَقَعَ بِالْجَارِيَةِ فَلَمَّا قَفَلَ أَخْبَرَتِ الْجَارِيَةُ مَوْلَاتَهَا بِذَلِكَ فَغَارَتْ غَيْرَةً شَدِيدَةً وَغَضِبَتْ فَأَتَتْ رَسُولَ اللهِ ﷺ فَأَخْبَرَتْهُ بِالَّذِي صَنَعَ فَقَالَ لَهَا رَسُولُ اللهِ ﷺ إِنْ كَانَ اسْتَكْرَهَهَا فَهِيَ عَتِيقَةٌ وَعَلَيْهِ مِثْلُهَا وَإِنْ كَانَ أَتَاهَا عَنْ طِيبَةِ نَفْسٍ مِنْهَا وَرِضًى فَهِيَ لَهُ وَعَلَيْهِ مِثْلُ ثَمَنِهَا لَكِ وَلَمْ يُقِمْ فِيهِ حَدًّا قَالَ الْبُخَارِيُّ فِيمَا بَلَغَنِي عَنْهُ لَحَدِيثُ قَبِيصَةَ هَذَا أَصَحُّ يَعْنِي مِنْ رِوَايَةِ مَنْ