In rags

Dressed in worn-out and torn clothing.

The man standing outside the restaurant was in rags.