It is extremely rare for it to rain at 35,000 feet, which is the standard cruising altitude for most commercial jetliners. This altitude is typically in the stratosphere, located above the "weather layer" (the troposphere) where 99% of the Earth's water vapor and clouds exist. This is why you often see a clear, blue sky and bright sun out the window even if you took off in a thunderstorm. However, powerful thunderstorms known as "supercells" can occasionally push clouds and precipitation up to 50,000 feet through a process called "overshooting tops." If a plane flies near or through these massive systems, it could encounter "supercooled" water droplets or ice crystals. However, at -50°C (-58°F), any liquid water usually freezes instantly, so you would experience "icing" or heavy turbulence rather than liquid rain. Generally, pilots prefer to fly above or around the weather, so while "precipitation" can technically reach that height, you will almost never see standard rain hitting the cockpit window at cruise.