d3 = {}
for common_key in (set(d1) & set(d2)):
    common_values = set(d1[common_key]) & set(d2[common_key])
d3[common_key] = list(common_values)
Python - How to calculate equal parts of two dictionaries?