The 48-year-old, identified by the initials P.D, was apprehended after a 32-year-old man was discovered with a stab wound at a bus stop in Torremolinos.
The victim was taken first to a local medical centre and then to hospital in Malaga after allegedly being attacked at his home.
It is believed that the attacker worked at a bar visited regularly by the victim and his wife.