An "excited" Gupta, who is currently filming his upcoming directorial shared on Twitter that he met the "Khalnayak" star.
"Sanju was on my set today after nearly eight years. F**K what a feeling! Time, life, destiny could not keep us apart. Cheers to that," Gupta tweeted on Friday night.
The duo has worked together in movies like "Kaante", "Musafir" and "Jung".
Gupta, also added that it was an emotional moment for the entire crew, when the actor dropped in for wishing them goodluck.
"What an emotional moment for ARB, Ahmad Khan, Baadshaah, me and my entire crew today when Sanju dropped by to wish us all the best," Gupta added.
Sanjay Dutt is out on a 30day parole to tend to his daughter, who is to undergo nose surgery.
He is currently serving a term at Pune's Yerawada Central Jail after he was convicted for illegal possession of arms in the March 1993 Mumbai serial blasts. He had applied for the parole in June citing his daughter's medical condition.