Will the friction act on a body at rest. Do not take in the case of inclined plane.
It depends. What situation do you have in mind? Is the body being pushed?
Well just consider a man standing.
In that case, no there is no friction acting on the man. There is, however, a distinction between "static friction" and "sliding friction". If the man attempts to move forward, he moves one foot forward which causes his other foot to exert a force backward. That foot does not move backward because of the static friction which acts on it even though that foot is not moving. If the static friction is not enough, if he is on a slippery floor, the force backward will be greater than the static friction and that foot will slide backward (now subject to sliding friction which is less than the static friction) making it difficult to walk forward.
If the man was standing on a slippery floor than he will be just moved by throwing some object in direction opposite To him but he can't do it on less slippery surface than isn't friction is preventing him To move
As Halls' says, there's no friction acting in this case.
Another example would be a book on a horizontal table. If it's just sitting there, the static friction is zero. But start pushing it and the static friction will increase to prevent slipping--up to the point of maximum static friction. (Once you get it moving, kinetic friction takes over.)
Separate names with a comma.