W4 7402 then FR 2513 at Madrid
Palma de Mallorca → Madrid → Bucharest
Timetable, Madrid time
09:10W4 7402 from Palma de Mallorca at the gate
07:55FR 2513 to Bucharest leaves the gate
22 h 45 apart on the timetable, overnight
FR 2513 leaves 22 h 45 after W4 7402 arrives on the timetable: more than half a day, so not a connection we count.