DL 126 then FR 3831 at Madrid
New York JFK → Madrid → Bologna
Timetable, Madrid time
07:20DL 126 from New York JFK at the gatealso UX 3392, AF 3679, KL 6126
21:00FR 3831 to Bologna leaves the gate
13 h 40 apart on the timetable
FR 3831 leaves 13 h 40 after DL 126 arrives on the timetable: more than half a day, so not a connection we count.