As Qatars laws are based on Islamic Shariah, I think this story is worth mentioning.

Umar Ibn al Khattab (one of the khalifas and companions of prophet muhammad SAWS), during his reign, In one his walks at night with a companion ,he hears some singing in a house and peeps in , he finds a girl dancing and a man drinking wine sitting in front of her, Umar goes in to the house reprimands the man for his sins, but the man in turn question the authority of Umar to peep in on him and Umar admits his mistake and keeps shut about this to his companion, because it was not his to look in to anyone's house.

(I found this on Google but could not find reference.)