The number of slaves freed by some of the companions of the Prophet (saw) include:
- Othman Ibn al-Affan: 20
- A'isha: 69
- Abbas: 70
- Hakim Ibn Hizam: 100
- Abdullah bin Umar: 1,000
- Dhul Kila' al-Himyari: 8,000 (all on the same day)
- Abd al-Rahman bin Awf: 30,000
Total: 39,259
A slave would have been very expensive - equivalent to the cost of an expensive car or a flat.
These seven companions released 39,259 slaves. The total number of slaves freed by thousands of companions would be a much larger number
Source: Ma'ariful Qur'an Vol. 8, p. 38