“Where’s the best place to buy a gentleman’s hat?”/“Manhattan.”

Manhattan is not necessarily a place to buy a man’s hat, but a riddle has been cited since at least 2015:
 
Q: What’s the best place to buy a gentleman’s hat?
A: Manhattan.

   
“A man in a hat got a tan” is a similar Manhattan hat pun.
   
       
Wikipedia: Manhattan
Manhattan (/mænˈhætən, mən-/), often referred to locally as The City, is the most densely populated borough of New York City, its economic and administrative center, its cultural identifier, and its historical birthplace. The borough is coextensive with New York County, one of the original counties of the U.S. state of New York.
 
Twitter
Bespoke Framing
@BespokeF
Thursday Joke:  Where’s the best place to buy a gentlemen’s cap?
Manhattan!
4:01 AM - 7 May 2015
     
Twitter
MyMobileWorkers
@MyMobileWorkers
Where’s the best place to buy a gentleman’s hat? Manhattan. #BadJokeThursday
4:01 AM - 4 Jun 2015
   
Twitter
Bespoke Framing
@BespokeF
Monday Joke:  Where’s the best place to buy a gentleman’s hat? Manhattan! http://ow.ly/i/b8Sst
4:01 AM - 8 Jun 2015
 
Twitter
Gary Miller
@gazgagsman
Where’s the best place to buy a gentlemen’s cap?
Manhattan
#MondayMirth
3:05 AM - 6 Aug 2018