Advance given does not have any impact in p&l(shown as advance in balance sheet),so not disallowed.but the moment you convert the advance to expense ,u get disallowance.
expenses a/c DR To advance a/c. hence it has impact on p&l , section 40a(3) get attracted and get disallowed