1 Kings 4:26

26 Shlomo also had 40,000 stalls for the horses used with his chariots and 12,000 horsemen.