There currently is one option to travel by night train from Ylöjärvi (Finland) to Tervola (Finland), taking approximately 8 hours: Namely the Yöjuna 267 operated by VR.
VR, Finland's national railway operator, runs passenger trains throughout the country, including overnight services to northern Finland.