FR 573 then SN 3730 at Madrid
Porto → Madrid → Brussels
Timetable, Madrid time
22:05FR 573 from Porto at the gate
20:45SN 3730 to Brussels leaves the gate
22 h 40 apart on the timetable, overnight
SN 3730 leaves 22 h 40 after FR 573 arrives on the timetable: more than half a day, so not a connection we count.