Was ref right or wrong to give a pen on Saturday?

Only seen it once and thought he caught him.....Dee commentator (unbiased obviously 😁 ) seemed to see a replay and thought no pen.