LH 1279 then IB 1334 at Frankfurt
Athens → Frankfurt am Main → Madrid
Timetable, Frankfurt am Main time
20:25LH 1279 from Athens at the gate
19:35IB 1334 to Madrid leaves the gate
23 h 10 apart on the timetable, overnight
IB 1334 leaves 23 h 10 after LH 1279 arrives on the timetable: more than half a day, so not a connection we count.