The Prophet Mohammed said that he once saw a sex worker take off her hijab, and use it to lower a bucket into a well to fetch water for a thirsty dog.

Mohammed said that she had secured her place in heaven for her act of kindness.

Being anti sex work is against Islam.