If someone asks you to stand in for them on a client job, treat it as a matter of respect. Keep clear boundaries, and don't build a personal relationship with the client.
Even if you do great work and the client asks for your contact details, politely decline and point them back to the person you're covering for.
The client belongs to them, not you. Do the job well, then step away.
People needs to understand that?