UBI and socialism

A guy from a socialism channel is claiming that socialism has some form of UBI. Wonder how strong the UBI and a non-capitalistic society are connected.

Watch here:

In prison all your most basic needs, meaning food and housing, are also taken care off. A UBI in socialism doesn’t need to mean anything that is as high as for example social benefits in wealthy countries nowadays. I don’t see why socialists would pay a higher UBI than neoliberals for example. It’s rather the neoliberals who have an incentive to pay out higher UBIs, as they believe in the market, and the market works better, if there is actually serious demand.