1 – Some have maintained that the verse refers to female slaves, including female slaves from among the People of the Book, as stated by Ibn al-Musayyab—a view preferred by Aḥmad and others.
2 – Others have said that what is meant is the male slave, as Ibn ʿAbbās and others affirmed; this is also the position of al-Shāfiʿī and, according to another report, of Aḥmad. According to this view, the slave is allowed to look at his mistress.
Several hadiths attest to this 1, and the reason is one of need: she must speak with her slave far more often than she needs to be seen by a witness, a laborer, or a suitor.
If those men are permitted to look at her, then the slave’s looking is even more fitting. Still, this does not make him a mahram with whom she may travel, like the men “who have no desire”; such men may look, yet they are not maḥrams who can accompany her on a journey.
Hence, not everyone who is allowed to look at a woman may travel with her or be alone with her. The slave may look at her when necessity requires, but he may not be alone with her nor travel with her, for he is not included in the Prophet’s words:
“Let no woman travel except with her husband or a maḥram.” 2
If he is later set free, however, he may marry her, just as the husband of her sister may marry her once he has divorced the sister.