A series of tweets, undersigned by Turkish hacker group Ayyildiz Tim, featured on Shahid's official Twitter page. One of the posts condemned the portrayal of Alauddin Khilji in Shahid-starrer "Padmaavat", which saw Ranveer Singh play the Delhi Sultan.
Shahid later shared an Instagram Story to clarify that his account was hacked.
He wrote: "My Instagram and Twitter have been hacked. Just got Instagram back, my team working on sorting Twitter. So please know, it's not me and avoid any interaction."
Only one post was shared on Shahid's Instagram, and later deleted, but his Twitter is a mess with RTs of tweets posted by Ayyildiz Tim's account. One tweet shared the song Mashallah from the film Ek Tha Tiger with the caption "I love you Katrina Kaif." Another tweet posted a clip from Raj Kapoor's film Awara.
Here are screenshots of his Twitter and Instagram accounts:
Shahid and his wife Mira were on Wednesday blessed with a son. The couple received congratulatory messages from friends, fans and family members.
The actor also took a moment to acknowledge the good wishes.
"Hey guys, thank you for the wonderful wishes," he added.
Shahid and Mira were already parents to daughter Misha, who was born in 2016.