Ata said: If there is no inheritance between the two of them and he has no right to take her back, then there is no harm in his marrying.