thank you all for your help. This is a return flight from a flight I am took back to the US 4 months ago. And yes I understand the rest of the flight will be cancelled once I don't take the MAD-DOH flight.
One last question, what constitutes as a long layover so that I could short check my bags? Does the layover need to be overnight?