Stepping back for a second, and really trying to be helpful here: I would rethink your entire plan. As many above are noting, QT setups often have no biofilter established, and it is possible to address that through water changes, bacteria, Prime, etc. But that is difficult for a beginner.
So stepping back: how did you get into this situation? Can you say "no" to this "gift"? Nothing good in a reef tank happens with spur of the moment decisions like this. And you go down a rabbit hole chasing one issue and more keep popping up. Slow and steady is the only good strategy.
I would do this right, and it sounds like you have read enough to know how to do it right, which is why you are asking for help on doing the shortcut. Marine fish are the worst possible surprise "gift".