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