A case has been registered against him alleging that his road show in Kanpur city breached the time limit and the route map set by the authorities.
Many see Rahul Gandhi, the fourth-generation scion of the famous Nehru-Gandhi dynasty, as the PM-in-waiting.
Mr Gandhi is an MP from Uttar Pradesh and although he is not contesting the assembly elections, which begin on Wednesday, he has been campaigning extensively in the politically crucial state, which sends the most members to parliament.
The Congress party denied there was any violation of the election code of conduct and accused the district administration of trying to curtail Mr Gandhi’s programme on orders from the state government.
The ongoing elections in the state are being seen as a dress rehearsal for the 2014 parliamentary elections in India.
Correspondents say if the Congress does well in the state polls, it will energise the rank and file of the party which has been bogged down with criticism of bad governance and corruption scandals involving its government in Delhi.
Uttar Pradesh elections are part of the assembly polls being held in five states. Vote counting is scheduled on 6 March.