An example for two finitely generated and residually finite whose quotients are finite and Isomorphic, but themselves are not Isomorphic
Example of $2$ non-isomorphic groups that have the same quotients