You asked:

how long is the flight time from agp to rabat

Sorry, I don't yet have an answer to that question.