Ridda wars
In the Ridda wars, thousands of prisoners from rebel and apostate tribes were taken away as slaves during the expeditions. Omar ordered a general amnesty for the prisoners, and their immediate emancipation. This made Omar quite popular among the Bedouin tribes.