Hello Imp_star, thanks for posting on the Community
You can create an expense account for ad-hoc wages in your Chart of accounts. Once saved, this account can then be selected on the expense transaction (+ New > Expense) in the Category field to record the payment.
If you need any further guidance on which account to post this to, we'd recommend reaching out to your bookkeeper or accountant for support (Note: if you don't already have an accountant, you can find a QuickBooks Certified ProAdvisor near you on our online directory).