Probing of in-medium hadron structure with HADES