You can stay in Qatar for up to 90 days throughout every 180 days. The Qatarn government will permit you to stay in the nation for a specified time after you have received your Visa. The most time you may be granted is 90 days, but there is no guarantee that you would be granted even that many.