Well, regardless of religion, if a man wants sex, he might pays for it because most men have urges to have sex and paying for it is an attractive option. It doesn't matter if the man is a "devout" Muslim or not. In those times it is the penis who take the decisions.