If you are paying for the flight then I am sure its only the same as taking a passenger up with you for free.
I have done this when flying for pleasure and seen the wanna be who can't afford to fly, sitting on the aerodrome fence, all starrey eyed, offered a trip and off we've gone. Might be worth checking for insurance cover, but I don't think there is a problem.
Beags may know different.