Enough time for transit in Hamad Airport


Is 50 minutes enough time to reach, fly over and reach our next flight from Hamad Airport?
We arrive at 00.45 and our next flight is at 1.40am, there are 8 adults in our group.