FR 2097 then IB 5092 at Barcelona
Bologna → Barcelona → Porto
Timetable, Barcelona time
15:00FR 2097 from Bologna at the gate
13:00IB 5092 to Porto leaves the gate
22 h apart on the timetable, overnight
IB 5092 leaves 22 h after FR 2097 arrives on the timetable: more than half a day, so not a connection we count.