https://thebestvpn.com/are-vpns-lega...egal-section-Q
I don't know how accurate this site is. It is extensive and is correct about the countries which do ban them, but it seems to be perfectly legal to use a VPN in Qatar, which makes sense as I know plenty who do and have had no problems whatsoever.