Not sure about the scope, but take the rifle down as far as you can and certainly out of the stock, spray action liberally with WD40, which displaces water. Leave to soak for a few minutes, then spray down with non chlorinated brake cleaner, let dry, then oil as you normally would. I have dunked a few rifles and shotguns in my time, duck hunting almost guarantees you will have a wet shotgun at times.
I doubt your scope has been hurt, they are pretty well sealed, have to be to not get water vapor in them that would cause them to fog up.
the reason I do the three steps: WD 40 to get water out, the brake cleaner because there is almost always some gunk that could possibly trap water and I want it out also, and the oil to protect.
David