UX 92 then FR 2051 at Madrid
New York JFK → Madrid → Palma de Mallorca
Timetable, Madrid time
11:10UX 92 from New York JFK at the gate
06:05FR 2051 to Palma de Mallorca leaves the gate
18 h 55 apart on the timetable, overnight
FR 2051 leaves 18 h 55 after UX 92 arrives on the timetable: more than half a day, so not a connection we count.