As thrig already mentioned in a comment:

    zsh -c 'prog *.txt(P:-f:)'

This uses the [glob qualifier](http://zsh.sourceforge.net/Doc/Release/Expansion.html#Glob-Qualifiers) `P` which prepends a separate word to each glob match. Like almost all of zsh's glob qualifiers, bash has nothing similar.