When outer and inner sphere are connected by wire, the entire charge is transferred to the outer surface from the inner sphere. In electrostatic equilibrium, charge does not reside inside a conductor. Total charge on the outer surface of the outer sphere is -5Q. Total charge on the inner surface is 0. The electric field at the surface of the inside sphere goes to zero after connection. Consider a Gaussian surface just on the surface of the inner sphere,
ϕE=E(4πr2)=Qenclosed0=0 ∵Qenclosed=0
Thus, we have E=0