FR 5712 then NT 6007 at Madrid
Budapest → Madrid → Gran Canaria
Timetable, Madrid time
20:05FR 5712 from Budapest at the gate
11:50NT 6007 to Gran Canaria leaves the gate
15 h 45 apart on the timetable, overnight
NT 6007 leaves 15 h 45 after FR 5712 arrives on the timetable: more than half a day, so not a connection we count.