The series of events in which a stimulus from a parasitic fungus (a fungus which spends all or part of its life in or on another organism from which it obtains nourishment and/or protection) is received and converted into a molecular signal.