The court said that Mr Gandhi's reputation had been damaged by the lawsuit.
"The allegation is without substance and without an iota of evidence," the judges said. They fined the petitioners Rs.10 lakh. Half of this penalty is due to Mr Gandhi, the other is meant for the girl who he said had been raped.
Kishore Samrite - a former Samajwadi Party state legislator in Uttar Pradesh - had alleged that on December 3, 2006 Rahul Gandhi and his six friends who were in Amethi, had abducted a girl and raped her.
The CBI was asked to investigate the allegations last year by the Allahabad High Court which was hearing the case at the time. The investigating agency told the Supreme Court last month that the charges against Mr Gandhi are baseless. The CBI also said that websites that first accused Mr Gandhi originated in or are hosted in foreign countries.
When asked if the CBI would follow up on allegations of a foreign conspiracy, the Director of the agency AP Singh, said if a request was made formally the CBI would follow up on it.
(with inputs from Agencies)
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.