If you assume f is continous this might help you get an idea how to prove it (in case you know a harmonic function satisfies both of the above). This can be done even in the case f is only locally integrable. However I don't know if the result would be valid with no regularity on f.