Police: Stranger offers student ride to school