1 Kings 4:26

NKJV
Solomon had forty thousand stalls of horses for his chariots, and twelve thousand horsemen.