If you do not receive compensation, no menetory gain, you are fi
The law does not prevent you to open the door and show the property on your friend or relative's behalf.
But if you reveive compensation, that's a different story.
If you want to do that, make sure you have your friend's written agreement. And ensure you do not have any liabilities. All liabilities are your friends.