FR 7283 then IB 549 at Madrid
Torino → Madrid → Porto
Timetable, Madrid time
23:25FR 7283 from Torino at the gate
19:40IB 549 to Porto leaves the gate
20 h 15 apart on the timetable, overnight
IB 549 leaves 20 h 15 after FR 7283 arrives on the timetable: more than half a day, so not a connection we count.