Your next pocket travel guide
Upvote:1
Since you're not clearing immigration in Doha, their passport validity rules don't apply to you.
Even if you were to enter Qatar, the country only requires 3 months validity from the date of entry.
So you will be fine