An agricultural machine for grouping products lying on the ground and in particular having a main frame carrying two gathering devices situated one beside the other during work and to which swathing devices are associated and having a separation device situated in front of the inner ends adjacent to the gathering devices.