Yorkshire say they will block followers on their social media sites who post anything which is "deemed offensive".
The White Rose county has responded to a series of comments after announcing on Twitter that bowler Adil Rashid was heading to Mecca with his family to celebrate Hajj.
Yorkshire said: "Yorkshire CCC will not tolerate any comments which could be deemed offensive. For this reason we will be removing offensive comments and blocking those who post them from this page."
In an earlier tweet, Yorkshire wished Rashid and his family a safe journey and "a very warm Hajj".
The club said: "Yorkshire and England leg spinner Adil Rashid will be completing his Hajj (pilgrimage to mecca) today.
"We wish Adil and his family a very warm Hajj Mubarak, and a safe journey. To all that are celebrating Eid-ul-Adha this weekend, we wish a very warm Eid Mubarak. #OneRose."
Rafiq claimed Vaughan made racist comments to a group of Asian team-mates during his time as Yorkshire skipper and Rashid later issued a statement confirming he also recalled the incident.
Vaughan, who has denied the allegations, stepped back from his role as pundit with the BBC last month.
Want a quick and expert briefing on the biggest news stories? Listen to our latest podcasts to find out What You Need To Know...