There currently is one option to travel by night train from Rzepin (Poland) to Łańcut (Poland), taking between approximately 9 and 10 hours: Namely the EC 431 operated by PKP Intercity.
PKP Intercity, Poland's national long-distance operator, connects cities across Poland and beyond its borders.