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