AA 94 then FR 2528 at Madrid
New York JFK → Madrid → Berlin
Timetable, Madrid time
08:50AA 94 from New York JFK at the gatealso BA 1566, AY 3770, IB 4000, RJ 7691
06:40FR 2528 to Berlin leaves the gate
21 h 50 apart on the timetable, overnight
FR 2528 leaves 21 h 50 after AA 94 arrives on the timetable: more than half a day, so not a connection we count.