$3,000 was donated to the hospital by the late Mr. Smith.

Literal

Passed-away Smith-Mr. [by-によって] hospital [dat-に] 3,000 dollars [subject-が] donate-[passive-された]

Passive with an explicit agent marked by によって ('by'). In Japanese, によって is the standard way to mark the agent in a formal or written passive, more than に alone (which can also mean 'to'). 寄附 is the formal written spelling of 寄付 (donation) — both read きふ.