loitering

noun
  1. the act of standing or waiting around in a public place without apparent purpose, especially in a way that may be considered suspicious or unwelcome
  2. Usage: often used in legal contexts

Examples