KL 1505 then FR 2775 at Madrid
Amsterdam → Madrid → Palma de Mallorca
Timetable, Madrid time
16:05KL 1505 from Amsterdam at the gate
12:55FR 2775 to Palma de Mallorca leaves the gate
20 h 50 apart on the timetable, overnight
FR 2775 leaves 20 h 50 after KL 1505 arrives on the timetable: more than half a day, so not a connection we count.