FR 4596 then LA 5794 at Barcelona
Porto → Barcelona → Vigo
Timetable, Barcelona time
22:15FR 4596 from Porto at the gate
20:15LA 5794 to Vigo leaves the gate
22 h apart on the timetable, overnight
LA 5794 leaves 22 h after FR 4596 arrives on the timetable: more than half a day, so not a connection we count.