1 Kings 4:26 (ESV)

26 Solomon also had 40,000 stalls of horses for his chariots, and 12,000 horsemen.