Sit in for (someone)

To take someone else’s place in some activity.

I asked my friend to sit in for me at my volunteer job at the community center.