Fish were not thought to be able to smell while on land because their olfactory systems evolved to work underwater, but the walking catfish can
Source:
https://www.newscientist.com/article/2252646-walking-catfish-may-use-their-whole-body-to-smell-when-on-land/?utm_campaign=RSS%7CNSNS&utm_source=NSNS&utm_medium=RSS&utm_content=home