It is difficult to identify a spider based solely on a black body with a brown stripe. Several species could match this description, and location matters.
To help narrow it down, I would need to know:
• Where you saw the spider.
• Its size.
• Whether it had a web and what type.
• Any other markings or patterns.
Observe spiders from a safe distance. If you are concerned about a spider in your home, contact a professional pest control service.