بسم الله الرحمن الرحيم
(Fatwa: 971/984/H=9/1438)
If the scent of perfume touched your hand then dam became wajib. And if it did not touch your hand then in this case though no dam is wajib but a long time had passed over it hence it is better when you visit Makkah again slaughter a goat with the intention of dam and distribute its meat among the poor and needy ones.
Allah knows Best!
Darul Ifta,
Darul Uloom Deoband
