He said the party did not want a split in the anti-BJP votes and hence would contest only the seats where it has got a strong organisational base.
"In Gujarat, we will be contesting five seats where our organisation is strong. We are not going to weaken the fight there (against the BJP). In the rest of the seats, the party will support Congress," he told reporters in Lucknow.
The Congress and the Samajwadi Party had struck an alliance in Uttar Pradesh for the assembly elections earlier this year. The Congress had contested 105 of the 403 seats while the Samajwadi Party battled it out in 298 seats.
Asked if he would campaign in Gujarat, the Samajwadi Party chief said, "I will campaign where our candidates are in the fray. If any other party approaches me, I can campaign for it."
When asked about the allegations of Narendra Patel, an activist of Hardik Patel-led Patidar Anamat Andolan Samiti or PAAS, that he was allegedly offered Rs 1 crore for joining the BJP, Mr Yadav took a swipe at the BJP, saying it was the "most honest" party. "How can it do so?" He also "advised" the media not to run the story, "otherwise your channel will be closed".
"Had our government got permission from the National Green Tribunal or NGT, we would have done more beautification work around the Taj," Mr Yadav said, who was the chief minister of the state between 2012 and 2017.
On the proposed air show on the Agra Expressway tomorrow, he said, "We have got the expressway constructed so that in case of any emergency, planes can land on it. I want to ask the BJP, what is their definition of 'rashtrawad' (Nationalism). They say we are not 'rashtrawadis' (Nationalists). I want the pictures of the air show to be publicised so that our workers can tell who constructed this (expressway)."
The Election Commission has said that Gujarat will go to polls before December 18.