Sa'id bin al-Musayyib considered it disliked for a man to free her for the sake of Allah and then marry her.