FR 3012 then AY 5653 at Madrid
Palma de Mallorca → Madrid → New York JFK
Timetable, Madrid time
00:10FR 3012 from Palma de Mallorca at the gate
12:20AY 5653 to New York JFK leaves the gatealso QR 6903, AA 8835
12 h 10 apart on the timetable
AY 5653 leaves 12 h 10 after FR 3012 arrives on the timetable: more than half a day, so not a connection we count.