FR 3813 then FR 2753 at Madrid
Bologna → Madrid → Milan
Timetable, Madrid time
21:35FR 3813 from Bologna at the gate
16:55FR 2753 to Milan leaves the gate
19 h 20 apart on the timetable, overnight
FR 2753 leaves 19 h 20 after FR 3813 arrives on the timetable: more than half a day, so not a connection we count.