If it was Qatari Riyals , just stick it with a tape and deposit it in ATM . The machine is dumb and easy to fool...QNB deposit is along the long edge of the Note and QIB deposit is along the short edge of the note. So if it is not accepted in QNB go to QIB :)

Also say Sorry in advance for the person who will be withdrawing it :)