With this circuit you can measure on the mains with a grounded scope without tripping the rcd.
I found the circuit on Pros his site. (Link: http://prosje.be/CO/Schemas/slides/DiffProbe.html)
The circuit diagram’s with pcb layouts:
Print 1:
Print 2:
Print 3:
Pictures: