There are circumstances in which you can run a wire through a panel, even if it is not associated with the panel and does not land on any point within the panel. The rules are mostly about using up the available cross-sectional area. See 312.8. Please note that it does not matter what the "feed through" wire is, or what it serves, or where the thing it serves is located.