Beating a dead horse
mʌɾeː hʊeː ɡʰoːr.eː koː piːʈnaː meə hjuː ɡəʊd kəʊ piːtnə
In Hindi मरे हुए घोड़े को पीटना (Mare hue ghode ko peetna)
This idiom is a direct translation, emphasizing the futility of continuing an action.
Example
"अब इस बात पर बहस करना बेकार है, यह मरे हुए घोड़े को पीटने जैसा है। (Ab is baat par bahas karna bekaar hai, yah mare hue ghode ko peetne jaisa hai.)"