So do:
SELECT rpd.registration_no,rpd.name, rpd.marriage_anniversary_date,fd.name
FROM rpd
INNER JOIN fd
ON rpd.registration_no=fd.registration_no and rpd.marriage_anniversary_date=fd.marriage_anniversary_date
WHERE ((DATEDIFF(dd, getdate(), DATEADD(yyyy, DATEDIFF(yyyy, rpd.marriage_anniversary_date, getdate()) + 1, rpd.marriage_anniversary_date))) % 366 <= 10)
ORDER BY rpd.marriage_anniversary_date DESC
Was that so difficult?