Beating a dead horse
In Punjabi ਮਰੇ ਹੋਏ ਘੋੜੇ ਨੂੰ ਕੁੱਟਣਾ (Mare hoe ghode nu kutna)
This idiom is a direct translation, emphasizing the futility of continuing an action.
Example
"ਹੁਣ ਇਸ ਗੱਲ 'ਤੇ ਬਹਿਸ ਕਰਨਾ ਬੇਕਾਰ ਹੈ, ਇਹ ਮਰੇ ਹੋਏ ਘੋੜੇ ਨੂੰ ਕੁੱਟਣ ਵਰਗਾ ਹੈ। (Hun is gal 'te behas karna bekar hai, eh mare hoe ghode nu kuttan varga hai.)"