Is there Salah in barzakh? If there isn’t then what does a person do?

Barzakh is like a snapshot of reward or punishment. A mini heaven or hell