Bit of both.
If making a split you got to be aware that bees that are foraging age have learned the location of their hive, and will return to that, unless moved far enough away. Bees that have not yet left the hive and not learned the location, will stay.
The percentage mix of forager vs non forager bees will depend on season, and where in the hive you got them from. However as a general rule, you risk losing a lot of bees from a split if it is queenless, and you place it near the original hive. And then after that, other bad things can happen.