Ariz. Rev. Stat. § 13-3905
A. A peace officer who is engaged, within the scope of the officer's authority, in the investigation of a felony may make written application upon oath or affirmation to a magistrate for an order authorizing the temporary detention, for the purpose of obtaining evidence of identifying physical characteristics, of an identified or particularly described individual residing in or found in the jurisdiction over which the magistrate presides. The order shall require the presence of the identified or particularly described individual at such time and place as the court shall direct for obtaining the identifying physical characteristic evidence. The magistrate may issue the order on a showing of all of the following:
B. Any order issued pursuant to this section shall specify the following: