Quarry
From the Slaves Wiki
The Quarry is a stone yard. Assign slaves to it and they bring in Stone for your next buildings.
Workers
Workers search wide for loose Rocks, pick them up and haul the stone back to the quarry. Each delivery scales with Heavy.
Storage
Holds: Stone its workers gather. Capacity is 500 weight (see Storage and Weight). Once it is past 250 a COLLECT badge shows over it. Press E at it to move stock in or out.
Building it
Open the build menu with B, pick the Quarry and place it within 200px of yourself. Buildings need 80px of space between them. You can own up to 4.
Demolishing returns 50% of the materials, and anything stored inside comes back to your inventory.