Salam nimnimak
My understanding of the matter is that you can only have sex with spouses and MMA, as the Quran mentions that we should guard our genitalia from anyone except spouses (which can be boy/girlfriends, husbands/wives, concubines, lovers etc.) and MMA.
What I don't understand is how do you think a one night stand is allowed? Do you consider the partner in a one night stand as a spouse?