Qatar has recorded a budget surplus of $5.4 billion (QAR 19.7 billion) during the first quarter of 2023.