Apple juice, pears, and coconut oil poop candy (I have the recipe if you’re interested) helped my daughter. If I was really desperate and she was really miserable I would give her 2 pieces of sugar free chocolate, the sugar alcohol in it acts as a laxative and she would go within a hour or two.
Give him warm water to drink , it’ll help get it out ( in the moment )