Sayyiduna Ibn Abbas (may Allah be pleased with them both) said: If a person sells his share before the division of the spoils, there is no harm in it.