UX 1503 then DE 1668 at Frankfurt
Madrid → Frankfurt am Main → Heraklion
Timetable, Frankfurt am Main time
09:45UX 1503 from Madrid at the gate
09:40DE 1668 to Heraklion leaves the gate
23 h 55 apart on the timetable, overnight
DE 1668 leaves 23 h 55 after UX 1503 arrives on the timetable: more than half a day, so not a connection we count.