If your layover is more than 24h is it allowed to go to Doha, return to the airport, e.g. to the lounge for lunch, return to Doha to the hotel and then back to the airport the next day for departure? That would mean you have 2 entries and exits within ~24 hours?
Does anyone have any experience of this working or whether immigration will refuse if you want to enter Doha a second time?