Say, I have the following integral: $$\int_{-\infty}^{\infty} f(x) \delta(x-y) \, dx = f(y) \int_{-\infty}^{\infty} \delta(x-y) \, dx = f(y).$$
Again consider the following integral: $$\int_{-\infty}^{\infty} f(y) \delta(x-y) \, dx = f(y) \int_{-\infty}^{\infty} \delta(x-y) \, dx = f(y).$$
My Question
In this case, is $$f(x) \delta(x-y) = f(y) \delta(x-y) \, ?$$
The reason I am hesitating to conclude that (using Fundamental Theorem of Calculus) is $f(x) \delta(x-y)$ not being a function (strictly speaking) due to the presence of the Dirac delta 'function'. For more details, see here.
Although, it is quite common in Physics, for instance, here in the normalization of one-particle states.